📅  最后修改于: 2022-03-11 15:01:19.393000             🧑  作者: Mango
public class Main
{
public static void main(String[] args) {
int num = 5;
int nextMultipleOfFive = (num/5+1)*5;
System.out.println(nextMultipleOfFive);
}
}