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 ( 44+ )
Otras preguntas
what number increased by 25 equals 40?a number divided by 5 equals 17.find the numberten less than a number is 42.find the numberwhen 12 is subtracted from 3 ti
How many joules does it take to change 127 grams of water from -15 degrees Celsius to boiling?
I throw a stone off a cliff 32 feet above the water. The height of the stone in terms of time (in seconds) is given by h(t) = -16t2 + 128t + 32. At what time
Mention any 3 features of the Constitution that was drafted in 1791 by the national Assembly in France. (3 marks)
Help me with this question please thank you A ball is thrown downward from a window from a tall building. Its position at time t in seconds is s = 16t^2 + 32t,
log6 (x+1)− log6 x =log6 29
What has for congruent sides?
what number increased by 25 equals 40?a number divided by 5 equals 17.find the numberten less than a number is 42.find the numberwhen 12 is subtracted from 3 ti
what is the answer 3.5r=3(4+.5r)?
What is the antiderivative of cos (pi*x)-1?
ACCESS MORE
EDU ACCESS