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 ( 79+ )
Otras preguntas
jason has 3 friends he gives his friends 1/4 how much does each person get HELP ASAP
This is the story to go with the Spanish hw
Help please List 2 ways chastity could help a teenager in a relationship in high school
Andre ran 2 kilometers in 15 minutes, and Jada ran 3 kilometers in 20 minutes. Both ran at a constant speed. In kilometers, How far did Andre run in 60 minutes
Firm A acquires firm B when firm B has a book value of assets of $255 million and a book value of liabilities of $85 million. Firm A actually pays $275 million
[tex]5x + 15 \leqslant - 10 [/tex]help me please.
also what is the arrow a pointing to?
The question just asks “Find QT” pls help
Lorena borrowed $1950 to buy books and a tablet for her freshman year of college. She will pay off the loan in 10 months at an annual simple interest rate of 5.
Which of the following is a purpose of rules in sports and games?
ACCESS MORE