+ 2

What's wrong with my code

int Cheers =Convert.ToInt32(Console.ReadLine()); if(Cheers >= 10) Console.WriteLine("High Five"); else if(Cheers <= 1) Console.WriteLine("shh"); else if( Cheers >= 1&& Cheers <= 10){ for(int i = 1; i <= Cheers;){ Console.Write("Ra!"); i++; } It's not complete #test-case 4 https://code.sololearn.com/c88yzzLl5yOU/?ref=app

22nd Sep 2020, 5:49 PM
Sneha Golait
Sneha Golait - avatar
4 Respostas
+ 1
if(Cheers > 10) without the equal
22nd Sep 2020, 5:58 PM
Ruba Kh
Ruba Kh - avatar
+ 1
Thank you Ruba Kh it's solve.
22nd Sep 2020, 6:02 PM
Sneha Golait
Sneha Golait - avatar