Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

CSIS 123 C Programming Fundamentals Labo Subscription Subscription Form Automation in C# insta w i nable folder (for instance, in c ) Copy the Create

image text in transcribed
CSIS 123 C Programming Fundamentals Labo Subscription Subscription Form Automation in C# insta w i nable folder (for instance, in c ) Copy the Create r the project to HICSISI and turn in a copy of the of the folder onde this par le with Display the cu s ang with the len price, quantity, and the calculated to won of the order Subscription Order Form Middle Last name: Quantity 5 27.95 Total Amounts In a manner equivalent to filling out a form the user is prompted for four data values that must be input and stored in computer memory: first, middle, and last names, plus the quantity ordered Line up these user input values as shown, so that all entered responses begin in the same column Names and quantities are expected to change with each additional order. Declare any program values that changes ariables. The price of each subscription is fixed while the program is running and cannot be changed during that time. However, the price might need adjustment from week to week or month to month. For ease of program maintenance, a named constant would be suitable to store this value at the beginning of main Display the value of this named constant on the last line of output, directly following them and symbols. Use the cout object for output prompts. The cin obiect extracts inpur values and stores them to variables Calculate the total amount of the order from known numeric values multiply the fixed subscription cost times the quantity purchased). Declare a variable that will store the total amount of this calculation in computer memory and assign it the result of the calculation Automate the order form by accepting all required inputs from a subscriber. Output these values and the calculated total amount on the console with a computer program designed to replace the paper form. C:WCProjects ab01-FormAutomation Debug EN C:\VCProjects Labo1 FormAutomation Debug First nane: Joseph Hiddle: M. Last nane: Northington First name: Elizabeth Middle: Martin Last name: Harris Quantity: 122 * Subscription Order Joseph M. Northington 4 @ $22.95 $111.88 Press any key to continue.. --- Subscription Order --- Elizabeth Martin Harris 122 $27.95 $3489.98 Press any key to continue.. Include the class library to enable input and output of string values. Add the library so that dollar amounts will be displayed in fixed format, with two digits to the right of the decimal point. Use fixed and setprecision(2) manipulators in the output stream to accomplish this. There is no need to use setw(n) for this simple output. Line up input prompts and output values as shown. Follow standard naming conventions for variables, named constants, and other program objects

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_2

Step: 3

blur-text-image_3

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

Select Healthcare Classification Systems And Databases

Authors: Katherine S. Rowell, Ann Cutrell

1st Edition

0615909760, 978-0615909769

More Books

Students also viewed these Databases questions

Question

The paleolithic age human life, short write up ?

Answered: 1 week ago