Question: A . Using printf / scanf Write a C + + program called Lab 4 A . cpp that does the following: Prompts for and
A Using printfscanf
Write a C program called LabAcpp that does the following:
Prompts for and reads in two character variables a and b using printf and
scanf appropriately
Prompts for and reads in two integer variables c and d using printf and
scanf appropriately
Prompts for and reads in two double variables e and f using printf and
scanf appropriately
Prints out all variables that the user just entered and a meaningful sentence
egYou just entered using printf
o Display variable f in scientific format
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
