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!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
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 Resposta