Question # 1
#include<iostream>
using namespace std;
int main(){
float a,b;
cout<<"Enter the first No. = ";
cin>>a;
cout<<"Enter the second No. = ";
cin>>b;
cout<<"Addition of given numbers is = "<<(a+b)<<endl;
cout<<"Substraction of given numbers is = "<<(a-b)<<endl;
cout<<"Multiplication of given numbers is = "<<(a*b)<<endl;
cout<<"Division of given numbers is = "<<(a/b)<<endl;
return 0; }
0 Comments
Post a Comment