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 ( 27+ )
Otras preguntas
A research submarine dives at a speed of 100 ft/min directly toward the research lab. How long will it take the submarine to reach the lab from the surface of t
What is the value of x?
The enzyme ptyalin helps digest carbohydrates, while the enzyme pepsin helps digest proteins. What prevents ptyalin and pepsin from digesting the same type of f
Which of the following is correct?
Melissa is purchasing a $160,000 home and her bank is offering her a 30-year mortgage at a 4.9% interest rate. In order to lower her monthly payment, Melissa wi
what was a natural defense of Quebec? A. it had a reliable source of clean water and food to see them through long battles B. it was located on a high cliff ove
10. Solve by factoring: y = x2 - 6x + 9 for y = 0.
pls help! will give brainlist! Brianna is using the two spinners shown to play her new board game. She spins the arrow on each spinner once. Brianna uses the fi
Help will give brainilist must be right!!
hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhheeeeeeeeelp