60 503
Assignments Done
98,1%
Successfully Done
In April 2018

Answer to Question #13797 in C++ for yash

Question #13797
write a program that display on screen
(a)the character 'z' (b) the name 'mohan' (c) the number 1997
using (10 single count statement (2) muntiple count statment
Expert's answer
#include <iostream>
#include <conio.h>
#include <math.h>

using namespace std;
//Main function
int main()
{
char ch=' ';
cout<<"(a)- the character 'z'";
cout<<"
(b)- the name 'mohan'";
cout<<"
(c)- the number 1997";
cout<<"
Select one item: ";
cin>>ch;
switch(ch){
case 'a':
cout<<"z";
break;
case 'b':
cout<<"mohan";
break;
case 'c':
cout<<"1997";
break;
}
getch();
return 0;
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

Assignment Expert
19.03.13, 19:40

You're welcome. We are glad to be helpful.
If you really liked our service please press like-button beside answer field. Thank you!

Mohammead Zakir Hussain
18.03.13, 09:40

A nice website

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions