Whats Wrong with C++ code?
here's the code: #include <iostream> using namespace std; int main() { int prog = 10 || 20 || 30 || 40 || 50 || 60 || 70 || 80 || 90 || 100; if(prog==10){ cout << "<=>" << 10 << "%"; } else if(prog==20){ cout << "<==>" << 20 << "%"; } else if(prog==30){ cout << "<===>" << 30 << "%"; } else if(prog==40){ cout << "<====>" << 40 << "%"; } else if(prog==50){ cout << "<=====>" << 50 << "%"; } else if(prog==60){ cout << "<======>" << 60 << "%"; } else if(prog==70){ cout << "<=======>" << 70 << "%"; } else if(prog==80){ cout << "<========>" << 80 << "%"; } else if(prog==90){ cout << "<=========>" << 90 << "%"; } else if(prog==100) { cout << "<==========>" << 100 << "%"; } return 0; } And it's outputing: No output.