Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribedI 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

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

Database Principles Programming And Performance

Authors: Patrick O'Neil, Elizabeth O'Neil

2nd Edition

1558605800, 978-1558605800

More Books

Students also viewed these Databases questions