Question: I need to create this program using C++ except the input should come from a Checkdatabase.txt file and print to another check.txt file. The input

I need to create this program using C++ except the input shouldI need to create this program using C++ except the input should come from a Checkdatabase.txt file and print to another check.txt file. The input Checkdatabase.txt file should just look like the the first five lines of the program dialog above, and the output for the check.txt file should look like the rest of the dialog with everything vertically alligned. Any help is very much appreciated.

Strings, File I/O 1. Check. Create a project titled Lab6_Check. Write a program that asks the user the check information and prints the check. The dialog should be as follows: date: 2/13/2014 name: William Schmidt amount, dollars: 23 cents: 3 payee: Office Max your check: William Schmidt pay to: Office Max twenty three and 3/100 2/13/2014 $23.03 dollars You may assume that a person always has the first name and last name (no middle names or initials). The payee name is also always two words. The dollar and cent amount are integers and the amount is always less than 100 dollars. Note that the dollar amount could be zero, in which case, when you spell the dollar amount, it should print "zero". The date is always a single (non-white space separated string). Your date, dollar amount in numbers and the word "dollars" have to vertically align

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!