0
I am having problems with the loan calculator project
Do I need to learn more? If so will the app teach me?
3 Answers
+ 4
If you have attempted and have errors or wrong output, then pls show the your attempt here so community help you for corrections you need...
If you not yet started or no idea of writing code then you need to learn more first then try...
Happy learnings...
+ 2
Big Jimmy
App can teach you only concepts but the logic comes from practice so you need more practice.
0
Try this
import java.util.Scanner;
public class Program
{
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
double amount = scanner.nextDouble();
//your code goes here
for(int i=0;i<3;i++){
amount=amount-(amount*0.1);
}
int money=(int) amount;
System .out.println (money);
}
}