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 ( 38+ )
Otras preguntas
Which of the following are solutions to environmental problems in the region? coordination of environmental efforts between sectors enforcement of environmental
which was a cause of breaking off the eastern half of the roman empire?
How many electrons are in the n = 2 shell of the oxygen atom before bonding?
Buying a franchise might be a good decision for someone who _____. a. wants to create a new product or service b. doesn’t want to work long hours c. doesn’t hav
What would happen to skin cells if mitosis did not take place?
Which base is found only in DNA? adenine guanine cytosine thymine
Mountains that are formed between two large faults are known as A. seamounts. B. plateaus. C. uplifted mountains. D. fault-block mountains.
Which of the following is true about the American embargo on sales to Japan? It hindered Japan's ability to wage war. It was a direct result of the Pearl Harbor
which was a cause of breaking off the eastern half of the roman empire?
• How can limiting factors affect a specific species that live in an area?