CPPForSchool.com: Flow of Control Set 1: Assignment 4
4.
Write a program to determine whether the seller has made profit or
incurred loss. Also determine how much profit he made or loss he
incurred. Cost price and selling price of an item is input by the user.
This program was not too difficult. It is amazing how prior exercises truly build upon itself for future assignments. Presumably, this was due to the course design itself, but nevertheless. Here is my source code and test outputs. Everything is working correctly.
This program was not too difficult. It is amazing how prior exercises truly build upon itself for future assignments. Presumably, this was due to the course design itself, but nevertheless. Here is my source code and test outputs. Everything is working correctly.
Comments
Post a Comment