i think, i have to use the "%5", but i dont knom what this mean.
package com.codegym.task.task04.task0416;
/*
Crossing the road blindly
*/
import java.io.*;
public class Solution {
public static void main(String[] args) throws Exception {
BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in));
String a = bufferedReader.readLine();
float as =Float.parseFloat(a);
if (as%5 < 3.0)
System.out.println("green");
else if (as%5 > 3.0 && as%5 < 4)
System.out.println("yellow");
else if (as%5 > 4.0)
System.out.println("red");//write your code here
}
}