[ create a new paste ] login | about

Link: http://codepad.org/QqrcRh0Z    [ raw code | output | fork ]

anupam97 - C++, pasted on Nov 11:
1
2
3
4
5
6
7
8
9
10
#include<iostream.h>
using namespace std;
int main(){
int x,y,z;
cout<<"enter the value of x and y"<<endl;
cin>>x>>y;
z=x/y;
cout<<z<<endl;
return 0;
}


Output:
1
2
enter the value of x and y
-17


Create a new paste based on this one


Comments: