Ledu/ultra/courses/44642 1/cl/outline Assignment 5 Submit a .CPP file for each of the projects below. No excuse accepted

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

Ledu/ultra/courses/44642 1/cl/outline Assignment 5 Submit a .CPP file for each of the projects below. No excuse accepted

Post by answerhappygod »

Ledu Ultra Courses 44642 1 Cl Outline Assignment 5 Submit A Cpp File For Each Of The Projects Below No Excuse Accepted 1
Ledu Ultra Courses 44642 1 Cl Outline Assignment 5 Submit A Cpp File For Each Of The Projects Below No Excuse Accepted 1 (47.13 KiB) Viewed 49 times
Ledu Ultra Courses 44642 1 Cl Outline Assignment 5 Submit A Cpp File For Each Of The Projects Below No Excuse Accepted 2
Ledu Ultra Courses 44642 1 Cl Outline Assignment 5 Submit A Cpp File For Each Of The Projects Below No Excuse Accepted 2 (50.66 KiB) Viewed 49 times
Ledu Ultra Courses 44642 1 Cl Outline Assignment 5 Submit A Cpp File For Each Of The Projects Below No Excuse Accepted 3
Ledu Ultra Courses 44642 1 Cl Outline Assignment 5 Submit A Cpp File For Each Of The Projects Below No Excuse Accepted 3 (46.43 KiB) Viewed 49 times
Ledu Ultra Courses 44642 1 Cl Outline Assignment 5 Submit A Cpp File For Each Of The Projects Below No Excuse Accepted 4
Ledu Ultra Courses 44642 1 Cl Outline Assignment 5 Submit A Cpp File For Each Of The Projects Below No Excuse Accepted 4 (44.71 KiB) Viewed 49 times
Ledu Ultra Courses 44642 1 Cl Outline Assignment 5 Submit A Cpp File For Each Of The Projects Below No Excuse Accepted 5
Ledu Ultra Courses 44642 1 Cl Outline Assignment 5 Submit A Cpp File For Each Of The Projects Below No Excuse Accepted 5 (44.06 KiB) Viewed 49 times
Ledu Ultra Courses 44642 1 Cl Outline Assignment 5 Submit A Cpp File For Each Of The Projects Below No Excuse Accepted 6
Ledu Ultra Courses 44642 1 Cl Outline Assignment 5 Submit A Cpp File For Each Of The Projects Below No Excuse Accepted 6 (45.61 KiB) Viewed 49 times
Ledu/ultra/courses/44642 1/cl/outline Assignment 5 Submit a .CPP file for each of the projects below. No excuse accepted for any invaid submissions which will incur ZERO. Project 5-1: Product List Create a program that reads data from an unformatted, tab-delimited file, performs some calculations on that data, and writes the resulting data to another file that's formatted and uses spaces to align the columns. Console Product List Reading product data from products.txt file. Writing product data to product_list.txt file. Bye! The products.txt file (the 3 columns are code, price and discount percent respectively, aligned with tabs) 699.5 .3 .3 .52 .38 .0 strat les_paul 1199 2517 A to sg fg700s 489.99 washburn 299.0 The product_list.txt file (aligned with spaces) CURRENT PRODUCT LIST --=== HE
Content edu/ultra/courses/_44642_1/dl/outline ↳ The product_list.txt file (aligned with spaces) CURRENT PRODUCT LIST code X strat les_paul sg fg700s washburn price 699.50 1199.00 2517.00 489.99 299.00 discount percent 30 30 52 38 0 discount amount 209.85 359.70 1308.84 186.20 0.00 your price 489.65 839.30 1208.16 303.79 299.00 8 Specifications . Your instructor should provide a tab-delimited file named products.txt that contains the product data shown above. . The program should read the data from the products.txt file, calculate the discount amount and list price from this data, and write the result to a text file named product_list.txt. This data should be formatted and aligned using spaces as shown above, where each column in the table is 10 characters wide. All the columns are right-justified except for the first column. (Hint: use I/O manipulators left, right, setw(), fixed and setprecision().) B X 1
aligned using spaces as shown above, where each column in the table is 10 characters wide. All the columns are right-justified except for the first column. (Hint: use I/O manipulators left, right, setw(), fixed and setprecision().) Project 5-2: Product Sales Program Create a program that allows the user to keep inputting sales amounts from 0 to 10,000 until the user enters -1 or the number of amounts reaches 12; then displays all the entered sales amounts and calculates the number, sum and average of them. Note: Bold words are output while non-bold words are input. Console The Product Sales Program Enter product sales from 0 to 10,000. To end the program, enter -1. Enter sales amount: 11 Enter sales amount: 21 Enter sales amount: -1 Product sales are: 12 Sales count: 2 Sales total: 3 Average Sales: 1.5 Console (invalid data 1) ***
Sales count: 2 Sales total: 3 Average Sales: 1.5 Console (invalid data 1) The Product Sales Program Enter product sales from 0 to 10,000. To end the program, enter -1. Enter sales amount: 1 Enter sales amount: 10001 Amount must be from 0 to 10,000. Try again. Enter sales amount: 2 Enter sales amount: -1 Product sales are: 12 Sales count: 2 Sales total: 3 Average Sales: 1.5. Console (invalid data 2) The Product Sales Program Enter product sales from 0 to 10,000. To end the program enter A
12 Sales count: 2 Sales total: 3 Average Sales: 1.5 Console (invalid data 2) The Product Sales Program Enter product sales from 0 to 10,000. To end the program, enter -1. Enter sales amount: 1 Enter sales amount: -0.1 Amount can't be a negative number. Try again. Enter sales amount: 2 Enter sales amount: -1 Product sales are: 12 Sales count: 2 Sales total: 3 Average Sales: 1.5 A Specifications . For amount less than 0 but not equal to -1, display a message that indicates that the amount can't be a negative number.
Product sales are: 12 Sales count: 2 Sales total: 3 Average Sales: 1.5 Specifications For amount less than 0 but not equal to -1, display a message that indicates that the amount can't be a negative number. .. . For amount greater than 10,000, display a message that indicates that the amount must be from 0 to 10,000. Use a built-in array with a capacity of 12 to receive all the sales amounts. . You program must check whether the input is a valid number. You program should accepts decimal entries like 35.65. . . CSC15003 07082022 recording Chapter 6. How to work with data types, strings, and vectors A
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply