Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write a ***C++*** program for this (several images attached), with flowchart included if possible. I'm having trouble with it. Thanks in advance!!! THE PROBLEM: It's
Write a ***C++*** program for this (several images attached), with flowchart included if possible. I'm having trouble with it. Thanks in advance!!!
THE PROBLEM: It's that time of year when cherry trees have blossomed, butter cups are everywhere, and folks are finding any reason to get out of the house after a cold winter. You own a mulch supply company where you sell mulch by the cubic yard and you need a software program to help you receive orders from customers, process those orders, and create invoices. Your customers will initiate their order on your company website which will result in the creation of a text file with the information your software will need to process orders. You may assume the text file has already been generated, your software will only need to read the file and process the information. The file will be named "p4in.txt". The text file will contain an arbitrary number of customer orders. The information from an order file will include the customer's first and last name, the customer's phone number (in the format xxx-xxx-xxxx), the 3 dimensions of the bed to be mulched (length in feet, width in feet, depth in inches - we will assume a rectangular shape for the bed), and the color of mulch (Black, Red, and Brown - the first letter in the color will be uppercased). You may assume that the first and last names will contain only letters. The numeric dimensions (length, width, depth) may contain decimal numbers (i.e., 1.75) Each customer will have four lines of data in the input file. The information will be in the format below. Input file format: FirstName LastName PhoneNumber (in the format: xxx-xxx-xxxx) L W D ColorStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started