Question: To read a float variable into the variable discount rate . Use the printf() statement and do the following: Print out the value of the
To read a float variable into the variable discount rate
. Use the printf() statement and do the following: Print out the value of the integer variable sum Print out the text string Welcome, followed by a new line. Print out the character variable letter. Print out the float variable discount. Use the scanf() statement and do the following: To read a decimal value from the keyboard, into the integer variable sum To read a float variable into the variable discount rate [5]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
