public class Bungabank{
public static void main (String [] args){
int p=1000000;
int c=100000;
double sp=p;
double b=0;
while (sp>0){
b=sp*0.01;
sp=sp-(c-b);
System.out.println (sp);
}
}
}
Program Penghitung Bungan Bank dengan Java
Program Penghitung Bungan Bank dengan Java ditulis oleh
★ 10/10 based on 10 ratings from 10 reviewers
★ 10/10 based on 10 ratings from 10 reviewers
0 comments:
Post a Comment