#include <iostream> using namespace std; int main() { #include <iostream> using namespace std; int main() { int x,y; cin>>x; y = x * 5; cout<<"you entered "<<X<<endl; cout<<"y is :"<<y; return0; } return 0; }
6
prog.cpp: In function ‘int main()’: prog.cpp:8:1: error: a function-definition is not allowed here before ‘{’ token { ^
Standard output is empty