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 ( 67+ )
Otras preguntas
Tyson has created many general questions to guide his research. What should he do next? write his paper decide on a topic review his paper narrow his focus
Mention the ideals set out by Mandela for the future of South Africa.
The volume of a sphere is 32 3 π cubic centimeters. What is the radius? Sphere V = 4 3 πr3 1. Substitute 32 3 into the volume formula for V: 32 3 π = 4 3 πr
which of the following will end it’s life cycle as a black hole
Use the two equations from questions 1 and 2 to figure out how many jerseys Bill would need to order for the price from 'Top Print' to be less than from "Print
What do we call steps in a food chain
What is a picture of a thousand words worth? Why does quicksand work slowly? Can crop circles be square? If ghosts can walk through walls and glide down stairs,
What does Trotsky mean by the term “family hearth”?
A cell is classified as a eukaryotic if the cell
HELP!!! Which method can be used to find the area of the composite shape? 2 semicircles on each side of a rectangle. Decompose the figure into one semicircle a