Question: write the following in c++ Lab 2.1.1 Create a program that will perform the following tasks: create a program named Lab2_1_1 write an if statement
write the following in c++
Lab 2.1.1 Create a program that will perform the following tasks:
create a program named Lab2_1_1
write an if statement that will print out your full name (first and last) IF the user types in the
number 1
Lab 2.1.2 Create a program that will perform the following tasks:
create a program named Lab2
write an if statement that will print out your full name (first and last) IF the user types in the number 1
write a statement that will print out "thanks!" no matter what number is entered
Submit the file
Lab 2.1.3 Create a program that will perform the following tasks:
create a program named Lab3
the program will ask the user to enter a number
create an if statement that will test to see if the number is a negative number (HINT any number < 0 is negative)
if the number is positive the program will print out "the number is positive". If the number is negative the program will print out "the number is negative".
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
