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 ( 48+ )
Otras preguntas
Which word is spelled correctly? A. supersede B. superseed C. supersead D. superceed
Mary Anne is planting flowers in her garden. She plants tulips in the first row. She plants roses in the second row and daises in the third row. She repeats thi
True or false: the teacher expectancy effect occurs when a teacher s curriculum has subtle ideas that support social control.
International tensions caused by nationalism and imperialism led to _____, leading to world dominance by the most powerful nations.
Kenny claims he can draw a trapezoid with three right angles
Plankton are low in the food chain. a. True b. False
In the poem To the doctor who treated the raped baby and who felt despair...Explain the ways in which the title of this poem is unusual and comment on whether o
ON saturday, 1,164 people saw a movie at Upcity Theater. There were a total of 4 movie screens with the same number of people in each screen. ABOUT how many peo
Birds evolved from A. insects. B. a common ancestor with reptiles. C. amphibians. D. mammals.
Fertility is a person's ability to a. produce viable sperm. b. resist sexually transmitted infections. c. reproduce. d. have a normal delivery.