0

Try this simple code for fun.......show the output of this code...... input this 26 and 6......and do not use compiler do it in your way......

#include<iostream> using namespace std; int main() { int a,b; float add,mult,divid,subt; cout<<"Enter one number: "; cin>>a; cout<<"Enter another number: "; cin>>b; add=a+b; mult=a*b; divid=a/b; subt=a-b; cout<<"addition of two numbers: "<<add<<endl; cout<<"multiplication of two numbers: "<<mult<<endl; cout<<"divided of two numbers: "<<divid<<endl; cout<<"subtract of two numbers: "<<subt; }

28th Aug 2016, 6:56 AM
Musfiq Raihan Akash
Musfiq Raihan Akash - avatar
2 Antworten
+ 2
32 156 4 20
28th Aug 2016, 7:19 AM
kiwiyou
kiwiyou - avatar
0
Thank you for doing this code....... well done
28th Aug 2016, 7:24 AM
Musfiq Raihan Akash
Musfiq Raihan Akash - avatar