Wednesday, 10 September 2014

addition, subtraction, multiplication, division and remainder

18:36

Program Code:


#include <iostream>
#include <conio.h>
using namespace std;
int main()
{
float x,y,z;
      cout<< "Enter a Number: ";
cin>> x;
cout<<"Enter another Number: ";
cin>>y;
z=x+y;
cout<<"Addition is "<<z<<endl;
z=x-y;
cout<<"Subtraction is "<<z<<endl;
z=x*y;
cout<<"Multiplication is "<<z<<endl;
z=x/y;
cout<<"Division is "<<z<<endl;
getche ();
return 0;

}

Written by

We are Creative Blogger Theme Wavers which provides user friendly, effective and easy to use themes. Each support has free and providing HD support screen casting.

0 comments:

Post a Comment

 

© 2013 All in One. All rights resevered. Designed by Templateism

Back To Top