Answered step by step
Verified Expert Solution
Link Copied!

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!!!image text in transcribedimage text in transcribedimage text in transcribed

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 Color

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

Machine Learning And Knowledge Discovery In Databases European Conference Ecml Pkdd 2016 Riva Del Garda Italy September 19 23 2016 Proceedings Part 3 Lnai 9853

Authors: Bettina Berendt ,Bjorn Bringmann ,Elisa Fromont ,Gemma Garriga ,Pauli Miettinen ,Nikolaj Tatti ,Volker Tresp

1st Edition

3319461303, 978-3319461304

More Books

Students also viewed these Databases questions

Question

the end of a partnership is refered to as it's dissolution

Answered: 1 week ago