Question: Write C + + statements that include the header files iostream and string. Write a C + + statement that allows you to use cin,
Write C statements that include the header files iostream and string.
Write a C statement that allows you to use cin, cout, and endl without the prefix std::
Write C statements that declare the following variables: name of type string and studyHours of type double.
Write C statements that prompt and input a string into name and a double value into studyHours.
Write a C statement that outputs the values of name and studyHours with the appropriate text. For example, if the value of name is "Donald" and the value of studyHours is the output is:
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
