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; }
2 odpowiedzi
+ 2
32
156
4
20
0
Thank you for doing this code....... well done