Question: The objective of this simple assignment is to write a simple program, just to make sure you can edit, compile and run a C +

The objective of this simple assignment is to write a simple program, just to make sure you can edit, compile and run a C++ program on your IDE and upload the source code for automatic grading by the Vocareum system.
Write a C++ program that prompts the user to enter his/her first name, last name, and CS 280 section number. The program should read the user's first and last names as strings, and the section number as an integer and display a hello message that includes your first name and the section number as shown in the following dialogue example as it would appear on your IDE:
Please enter your first name >>
George
Please enter your last name >>
Smith
Please enter your CS 280 section number >>5
Hello George, welcome to CS 280 section 5
Note: Use the same format and phrases for the input and output as shown for full credit. However, testing your program on your environment would require an input from the user to be entered for the names as shown in italic lines. For automatic grading on Vocareum, the input will be provided from an input file which includes some names instead, for example "George" for the first name, "Smith" for the last name, and 5 for the section number.
The correct output file on Vocareum is "input.correct" as shown below.
The correct output shows what you would have generated, excluding what a user have entered as an input.
\table[[Please enter your first name >>
 The objective of this simple assignment is to write a simple

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!