In: Computer Science
Using what you know about how to take inputs and make outputs to the console, create a check printing application. Your application will read in from the user an employee's name and salary, and print out a Console Check similar to the following. >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > | $1,000,000 | > > > > ___Pay to the Order of___ Johnny PayCheck > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Please only use technique from chapter 1 through 3 in C++ from control structure through object 9th edition
#include <iostream>
using namespace std;
int main() {
string name;
int salary;
string res;
//reading name and salary
cout << "Enter name:";
cin>>name;
cout<<"Enter salary: ";
cin>>salary;
//printing the given format
cout<<">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > | $"<<salary<<"| > > > > ___Pay to the Order of___ "<<name<<" > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>";
}
Note : If you like my answer please rate and help me it is very Imp for me