Question: Create a C + + program that consists of the following:In main create the following three variables:A char named theCharA double named theDoubleAn int named
Create a C program that consists of the following:In main create the following three variables:A char named theCharA double named theDoubleAn int named theIntFill each of these variables with data taken as input from the keyboard using a single cin statement. Perform the following task on each variable:Increment theChar by oneDecrement theDouble by twoSquare theIntThis should be done on separate lines. Note, outputting theChar is not modifying the variable. It is simply outputting it Output the value of each variable to the screen on separate lines using cout statements. Your program should also output the name of the variable followed by a colon.The output of your program should look like the following:
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
