subject

Why is the given C++ program is not working?
#include<>
using namespace std;

int main()
{
char ch;
cout<<"Enter any letter: ";
cin>>"ch";

if(ch='a' || ch='e' || ch='i' || ch='o' || ch='u'|| ch='A' || ch='E' || ch='I' || ch='O' || ch='U')
cout<<"Vowel";

else
cout<<"Consonant";
return 0;
}

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 21:50
Given int variables k and total that have already been declared, use a while loop to compute the sum of the squares of the first 50 counting numbers, and store this value in total. thus your code should put 11 + 22 + 33 + + 4949 + 50*50 into total. use no variables other than k and total.
Answers: 2
question
Computers and Technology, 22.06.2019 22:00
What is a distinguishing feature of today’s graphic application software?) graphic applications are used today on a variety of devices, including touch-screen kiosks and mobile phones.
Answers: 3
question
Computers and Technology, 23.06.2019 17:00
Companies that implement and apply an information system effectively can create
Answers: 1
question
Computers and Technology, 24.06.2019 14:00
What are the different components of the cloud architecture?
Answers: 2
You know the right answer?
Why is the given C++ program is not working?
#include<>
using namespace std;
Questions
question
Mathematics, 16.07.2021 17:20
question
Mathematics, 16.07.2021 17:20
question
Mathematics, 16.07.2021 17:30
question
Physics, 16.07.2021 17:30
question
Mathematics, 16.07.2021 17:30
Questions on the website: 13722367