Question: /* When complete: Change course designator in filename from DLS to DL2; Change Lastname to your lastname. Upload file DL2_X0_Lastname.cpp to BlackBoard Assignment link. */
/* When complete: Change course designator in filename from DLS to DL2; Change "Lastname" to your lastname. Upload file DL2_X0_Lastname.cpp to BlackBoard Assignment link. */ #includeusing namespace std; /* INSTRUCTIONS: Ask for name. (Use data type string) Example: "Demitrius" Ask for quest. (Use data type string) Example: "happiness" Display (example): "I hope Demitrius can find happiness soon." Ask user for two numbers. (Use numeric data type of your choice.) Add the numbers together. Mulitply the numbers together. Display the sum and product. Compile, run, test, put test output at bottom, submit. */ int main() { cout << "COSC 1337 Exam 0 Lab Portion" << endl; // insert your new code AFTER each comment for each step // step 1 (1 point) Ask for and get name. // step 2 (1 point) Ask for and get quest. // step 3 (1 point) Display name and quest to the user. // step 4 (1 point) Ask for and get the 1st number. // step 5 (1 point) Ask for and get the 2nd number. // step 6 (1 point) Add the numbers together. // step 7 (1 point) Multiply the numbers together. // step 8 (1 point) Display the sum and product to the user. // step 9 (2 points) Compile, test, place test output at bottom, submit cout<<endl<<"Goodbye!"<<endl; // this should appear as the last line of your output return EXIT_SUCCESS; // Use return 0 if EXIT_SUCCESS is undefined } /* Paste your test output below... */
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
