for example,
i wish to input 2 numbers, int1 and int2
then i wish to divide the 2 numbers to get a result. such as 5, 2. the computation normally would result in 2 and does not list the remainder. however, i need the remainder value to also be calculated and in addition to giving me the result, i need to have the program tell me if the result is long, or short, or double, or whatever.
#include <iostream>...
Leave a comment: