In this C++ program we will calculate the division between two numbers and print the result, in the screen. The two numbers will be taken from the user.color>
input:
Two numbers. (i.e. 15,05 etc.)output:
Devision between the given numbers will be printed on the screen.CODE---->
#include
main()color>
{
int a,b,div;
cout" \nEnter a Number : "color> ;
cin>>a;
cout"\nEnter another Number : " color>;
cin>>b;
div=a/b;
cout"\nThe result is : " color>color>" =color>" div color>endl color>;
system("pause") ;
}
color>