0

Cheer Creator - does not pass 3 test

import java.util.Scanner; public class Program { public static void main(String[] args) { Scanner num = new Scanner(System.in); int yard = num.nextInt(); if (yard < 1){ System.out.println("shh"); } else if(yard > 10){ System.out.println("High five"); } else if(yard <= 10){ for(int i = 0; i < yard; i++){ System.out.print("Ra!"); } } } }

23rd Jun 2020, 4:02 PM
Veles bog
Veles bog - avatar
2 odpowiedzi
+ 2
That would be capital 'F'
23rd Jun 2020, 4:37 PM
Blue!!
Blue!! - avatar
0
Yes, should be 'F', thanks)
23rd Jun 2020, 4:56 PM
Veles bog
Veles bog - avatar