[ create a new paste ] login | about

Link: http://codepad.org/KKr8AzJd    [ 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"<<;
cin>>x>>y>>;
z=x/y;
cout<<z<<;
return 0;
}


Output:
1
2
3
In function 'int main()':
Line 5: error: expected primary-expression before ';' token
compilation terminated due to -Wfatal-errors.


Create a new paste based on this one


Comments: