Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

PLEASE HELP!! i am very confused. If you could make it as simple as possible please!! I got this so far Write a C++ program

PLEASE HELP!! i am very confused. If you could make it as simple as possible please!!image text in transcribed

I got this so farimage text in transcribed

Write a C++ program according to the following algorithm: Declare a string variable productName Declare integer variable productQuantity Declare real number variables productUnitPrice, productTotalPrice Display welcome message to the user- "Welcome to the Inventory Calculation Program Ask the user to enter the product name - "Please enter the product name" Store name entered into productName Ask the user to enter the quantity of the product - "Please enter product quantity" Store integer entered into productQuantity Ask the user to enter the unit price of the product - "Please enter product unit price" Store real number entered into productUnitPrice Calculate productTotalPrice -productQuantity multiplied by productUnitPrice Display result to the user in the following format: Come u Product Quantity Pen,otal p thvee o va iat fil Unit Price (S) 1.05 100 The total price is: S 105.00 Create THREE additional variations of the output using the include iomanip> operations. Display thank you message to user - "THANK YOU for using the program written by [your name]

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

Online Market Research Cost Effective Searching Of The Internet And Online Databases

Authors: John F. Lescher

1st Edition

0201489295, 978-0201489293

More Books

Students also viewed these Databases questions

Question

To find integral of sin(logx) .

Answered: 1 week ago

Question

Question Can a Roth IRA invest in stock of the IRA owners business?

Answered: 1 week ago