ramylan00
ramylan00
26-12-2020
Computers and Technology
contestada
help me please .
and thank you ..
Respuesta :
kalabeasfaw99
kalabeasfaw99
26-12-2020
Answer:
#include <iostream>
using namespace std;
int main()
{
char c;
int isLowercaseVowel, isUppercaseVowel;
cout << "Enter an alphabet: ";
cin >> c;
// evaluates to 1 (true) if c is a lowercase vowel
isLowercaseVowel = (c == 'a' || c == 'e' || c == 'i' || c == 'o' || c == 'u');
// evaluates to 1 (true) if c is an uppercase vowel
isUppercaseVowel = (c == 'A' || c == 'E' || c == 'I' || c == 'O' || c == 'U');
// evaluates to 1 (true) if either isLowercaseVowel or isUppercaseVowel is true
if (isLowercaseVowel || isUppercaseVowel)
cout << c << " is a vowel.";
else
cout << c << " is a consonant.";
return 0;
}
Explanation:
Answer Link
VER TODAS LAS RESPUESTAS ( 67+ )
RELAXING NOICE
Otras preguntas
"evaporated into thin air" is an example of what literary device?
Theo was flying home from Istanbul when his father unexpectedly died in Des Moines. When told of his father's death, Theo suffered from symptoms similar to a pa
(PLEASE HELP) Colorblindness is a recessive X-linked trait. A heterozygous female has children with a normal-vision male. What percent of the offspring will be
Look at this pattern: 1,4,9,16,__,__,__,..... What do you think the last digit of a square number could be?
what is the difference between demographic components and demographic measure
the causes of land pollutions are
Edith believes that the methods for determining salary hikes and bonuses in her company are extremely unfair. In this case, Edith perceives a lack of ________ j
Define composition of family
A ___________ states an individual's preferences as to whether life sustaining procedures should or should not be used to prolong the life of an individual when
Put the following events from the story of the dragon in Silene in order. The king decided, very reluctantly, that the only way to save his people was to sacrif