0
What is an error?
#include <stdio.h> int main() { int n,i; scanf("%d",&n); if(n>10) { printf("Hive Five"); } else { if(n<1) { printf("shh"); } else if((n<=10) && (n>=1)) { for(i=0;i<n;i++) { printf("Ra!"); } } } return 0; }
3 Antworten
+ 1
Code working fine..
Check spelling again for "Hive Five" including capitalization..
0
Hive five => High Five
0
Use if then else if and then else.