Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I really need help on this programming problem that am doing in Visual Studio 2019 in C++ Submit your .cpp file as well as the

I really need help on this programming problem that am doing in Visual Studio 2019 in C++

Submit your .cpp file as well as the input file, the output file, and the screen shot of all the files tiled next to each other here!

Instructions:

Write a menu driven program that has three options:

Option 1: Write a function that calculates the tax for an iphone. The price and the tax rate should be asked from the user. Input validation: Do not accept negative numbers or string.

Option 2:

1- Create an input file with several numbers.

2- Read the numbers from your file into the program utilizing a for loop.

3- Multiply the numbers utilizing a for loop.

4- Write the result into a file.

Option 3: Exit the program

At the end of the program ask the user if they want to repeat the program or not, utilizing a do-while loop. ( If the user says yes to repeat, your program should start over again automatically)

What to submit: Submit the input file you have created, the output file that was created by your program, your .cpp file and the screen shot of the output( be sure all the files are tiled next to each other before taking the screen shot).

Let me know if you have any questions!

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 Systems On GPUs In Databases

Authors: Johns Paul ,Shengliang Lu ,Bingsheng He

1st Edition

1680838482, 978-1680838480

More Books

Students also viewed these Databases questions

Question

What are the primary data integrity constraints in SQL?

Answered: 1 week ago