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
If d0 = $1.75, g (which is constant) = 3.6%, and p0 = $32.00, what is the stock's expected total return for the coming year? a. 8.37% b. 8.59% c. 9.27% d. 9.03%
Which of the following is NOT controlled in homeostasis? A. Temperature B. Blood glucose level C. pH level D. ATP production
How do I stop being a plus member
find the domain of the function.
How to solve number 83?
George plans to cover his circular pool for the upcoming winter season. The pool has a diameter of 20 feet and the cover extends 12 inches beyond the edge of th
Design a synthesis of 2-chloro-4-nitroanisole from benzene or any mono-substituted benzene. choose the best option for the immediate precursor to the target mol
This is a geometry math question no Guessing Please and show yourboy work.
A scalene triangle has three congruent sides. true or false
A farmer leans a 12-ft ladder against a barn. The base of the ladder is 3 ft from the barn. To the nearest tenth, how high on the barn does the ladder reach?