Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

C++ format 1.14 First Practice Assignment Write a program that requires an input to answer the following prompts.: [Comment your Program 1. Write a program

image text in transcribed C++ format

1.14 First Practice Assignment Write a program that requires an input to answer the following prompts.: [Comment your Program 1. Write a program that inputs the number of hours you are taking this semester and outputs how much time outside of class you should spend studying. (Hint: every 1 credit hour 2 hours spent outside of class). nput 15 Input w/ Calculated output 15 You should be studying 30 hours per week. 2. Add on to this program another question to the user that asks them how many hours they actually spend studying and subtract the two values. Output the difference in the numbers of hours. Input 20 Output 20 You should be studying 10 more hours per week

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Management System MCQs Multiple Choice Questions And Answers

Authors: Arshad Iqbal

1st Edition

1073328554, 978-1073328550

More Books

Students also viewed these Databases questions