Wh're's the prblm in this codes when usin loops to mke a progrm that calculates the amount that I owe after 3 months of debts | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

Wh're's the prblm in this codes when usin loops to mke a progrm that calculates the amount that I owe after 3 months of debts

import java.util.scanner; public class program { Public static void main(String [] args) { Scanner scanner = new Scanner (System.in); Int amount = Scanner.nextInt(); for(amount = x); Int month1 = 10/100*x; Int month2 = 10/100*month1; Int month3 = 10/100*month2; System.out.print(month3);

10th May 2021, 9:03 AM
6Cødës
6Cødës - avatar
0 Antworten