Answer to Question #315022 in C++ for Arls

Question #315022

Create 4 variables and assign each one to the following values:




the letters 'M', 'V', and 'P' on the first three variables




the number 10 on the fourth variable




You may name the variable anything you want as long as it follows proper naming convention.




Using the variables you've created, print the cheer message like the one displayed in the output sample below. The first line contains the cheer message for the MVP, and the second line containing a cheer message with the MVP’s jersey number, all in uppercase.

1
Expert's answer
2022-03-21T08:22:46-0400
#include<iostream>
using namespace std;
int main(int argc, char *argv[]){	
char m='M';	
char v='V';	
char p='P';	
int num =10;	
cout<<"You are welcome "<<m<<v<<p<<endl;
cout<<"YOU ARE WELCOME "<<m<<v<<p	<<" NUMBER "<<num;}

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

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog