0
Can someone help me to find bug in the cpp program ?
https://code.sololearn.com/ckqmaF73B2pU/?ref=app #include <iostream> using namespace std; int main () {int iq; cin>>iq ; if(iq>=160){if(iq>=180){cout<<"high genius";} else(iq>=145){cout<<"genius";} } else if(iq>=120){if(iq>=130){cout<<"high gifted";} else{cout<< "gifted";} } else if(iq>=90){if(iq>=115){cout>>"above average";} else{cout<< "average";} } else if( iq >=60){if(iq>=70){cout<<"below average";} else{
1 Resposta
+ 1
There are a whole bunch of small syntactic mistakes in your code. In order to see them clearly you should write clean code. Like this:
https://code.sololearn.com/cPz3vZ4N1B0D/?ref=app