0
Help with loan calculator
This only runs once foursome reason import java.util.Scanner; public class Program { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); double amount = scanner.nextInt(); //your code goes here for (int x=0; x<=5; x++); amount = amount*0.9; System.out.println (amount); } }
3 Réponses
+ 4
There is a ";" after your *for* loop.
+ 1
HINT: CHECK YOUR FOR LOOP AGAIN!
+ 1
Ah ty