Question: String variables userName and courseName are read from input. Use variables userName and courseName to output the following. End with a newline. Ex: If the
String variables userName and courseName are read from input. Use variables userName and courseName to output the following. End with a newline.
Ex: If the input is Jan Algebra, then the output is:
Jan likes Algebra.#include
#include
using namespace std;
int main
string userName;
string courseName;
cin userName;
cin courseName;
Your code goes here
cout userName courseName endl;
return ;
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
