Question: A. Declaring, Initializing, and Printing Variables The following program contains missing code. Specifically, you are to fill in the missing code as directed below: Declare


A. Declaring, Initializing, and Printing Variables The following program contains missing code. Specifically, you are to fill in the missing code as directed below: Declare variable varl as an integer, var2 as a character, and var3 and var4 as floating point numbers, but do not initialize these variables yet. Next, assign 25 as the value of vari. Then, assign var2 to be the uppercase first letter of your last name. Now, assign var3 to be the floating-point number 2.5. Finally, seeing as the var4 contains the result of an arithmetic expression, print out the result of var4 to the terminal. Be sure to print a newline after the result. . #include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
