Question: Write a function in cpp , getData to input values from the keyboard into two variables, a string called name, and a float called salary.
Write a function in cpp getData to input values from the keyboard into two variables, a string called name, and a float called salary.Note: The values of these variables will ultimately be output to the console window in main Write the function definition only.
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
