Friday, 11 July 2014

A Program That Calculates Fee Collected From Class

Problem

Write a program that gets input of total number of students in a class and then asks for the fee collected per student. It displays total fee collected from the class.
Note: Problem forwarded to us by "Ali Aftab".

Input 3-Digit Number and Output Each Digit on Separate Line

Problem

The problem is to input a 3 digits number from the user. And then break that number into digits and show each digit on separate line. This problem should be solved using C++ (C Plus Plus) programming language.
Note: The problem was sent to me by my friend "Ali Aftab".