Cheer creator in code coach problem | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Cheer creator in code coach problem

I ran in to a problem while trying to finish this code. When I run it all the checks are good except one that is locked and I can't figure out what's wrong. Can someone please explain what's wrong with my code? Thanks in advance. My code: #include <stdio.h> int main() { int yards; scanf("%d", &yards); int a; a=yards; if(a>10){ printf("High five"); } else if(a<1){ printf("shh"); } else if(a<11) { for(int i=1; i<=a; i++){ printf("Ra!"); } } return 0; }

13th Nov 2022, 10:24 PM
Kajus Leonavicius
Kajus Leonavicius - avatar
1 Answer
+ 1
Change small 'f' to 'F' in "High five"
14th Nov 2022, 1:45 AM
Azhagesanヾ(✿)
Azhagesanヾ(✿) - avatar