Question: write the programs in c++ create a program named Lab121 create a character variable that will store the value: A create a integer variable that

write the programs in c++

create a program named Lab121

create a character variable that will store the value: A

create a integer variable that will store the number: 10

create a string variable that will store the string: fred

create a float variable that will store the number: 1.5

create an output statement that will print out each variable on a different line

Submit the Lab121.cpp file

create a program that will perform the following tasks:

create a program named Lab122

create a variable named FirstName that will store a string value

create a variable named LastName that will store a string value

create a variable named Grade that will store a character

create a variable named LuckyNumer that will store an integer

create an statement that asks the user to input their first name and store it in the FirstName variable

create an statement that asks the user to input their lastt name and store it in the LastName variable

create an statement that asks the user to input what grade they hope to earn and store it in the Grade variable

create an statement that asks the user to input their lucky number and stores it in the LuckNumber variable

create an statement that will print out the FirstName, LastName, Grade, and LuckyNumber variables on different lines

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!