Write a C++ program to help a cashier person when returning change to the customer. Your program should read two real
numbers: the amount of required money and the amount of paid money. The program outputs the change that should be returned
to the customer. Your program should display appropriate error messages for all the invalid cases such as:
• negative amount of required money
• negative amount of paid money
• paid amount less than required amount
Eng-Mohammed 0 Newbie Poster
Mahnoor_1 0 Junior Poster in Training
Eng-Mohammed 0 Newbie Poster
rubberman 1,355 Nearly a Posting Virtuoso Featured Poster
David W 131 Practically a Posting Shark
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.