+ 2

Can anyone help me in Code 20 .Loan Calculator

Loan Calculator

17th Feb 2022, 2:30 PM
Aditya Kumar Singh
Aditya Kumar Singh - avatar
2 Answers
+ 10
import java.util.Scanner; public class Program { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int amount = scanner.nextInt(); for (int x = 0; x <3; x++){ int actual_amount = (amount * 10)/100; amount = amount - actual_amount; } System.out.println(amount); } } or https://code.sololearn.com/c63KSVZsGQ54/?ref=app
17th Feb 2022, 3:32 PM
Vaibhav
Vaibhav - avatar
0
Pls Help me Code Project 20: Loan Calculator . I want code.
17th Feb 2022, 3:47 PM
Aditya Kumar Singh
Aditya Kumar Singh - avatar