I love you so much. My class textbook was not helping at all. Its only the second week in class and the instructor told us to do for, while, and do while loops as our second assignment, the first 6 chapters of our textbook has zero mention of loops. I was getting scared thinking "is it just me?!" but thanks to your videos i was able to finish the assignment on time. sigh of relief
DO WHILE OF COMPOUND INTEREST /**************************************************/ int i =1; double amount, rate= 0.01;
Scanner s = new Scanner (System.in); /*****************************/ System.out.print("input how many day: "); int day = s.nextInt(); System.out.print("input the principal: "); double p = s.nextDouble();
/**************/ do { amount = p*Math.pow(1+rate, i); System.out.printf("%dt%4.2fn",i,amount); i++; }while (i <=day); }
the funkiest loop in Java
why not just execute the statement once and then run the while loop, without need for the do
Nice videohttps://youtu.be/HfetaNIX6tI
best at 1.75x
Very useful!
public class latihan1{
public static void main(String[] args){
int counter = 0;
while(counter < 10){
counter++;
System.out.println(counter);
}
}
}
is the same right??
This course is absolutely AMMMMAAAZEEEE
EPICCC
You are my teacher now. subscribing.
Java simple aanu….powerful aanu
This looks a awfully a lot alike, a lot, alike. Wait, an awfully lot alike, yeah that's right.
I love your tutorials! They're short, simple, and straight to the point. They're really helping my exam revision!
🙂
This is why I take online courses lol, teachers are useless (most of them).
computers are so cute
I love you
Wow you managed to teach what my professor could not in an hour lol
I love you so much. My class textbook was not helping at all. Its only the second week in class and the instructor told us to do for, while, and do while loops as our second assignment, the first 6 chapters of our textbook has zero mention of loops. I was getting scared thinking "is it just me?!" but thanks to your videos i was able to finish the assignment on time. sigh of relief
4 mb video download :'(
This is gorgeous
Esay and simple curse
https://www.youtube.com/watch?v=vvW6qiTkZdw
why does my teacher teach us in the whiteboard? i will never know.
Thanks Bucky! I love how simplified you've made these tutorials and with clear explanations! 🙂
Finally understood the do while loop, thx dude!
What program are u using to run code?
in evry video u can find one person commenting the program in better way or modified way
Psycho alpha disco beta bio aqua do loop
Watching This A Week Before my first java exam wish my lick guys!😂
DO WHILE OF COMPOUND INTEREST
/**************************************************/
int i =1;
double amount,
rate= 0.01;
Scanner s = new Scanner (System.in);
/*****************************/
System.out.print("input how many day: ");
int day = s.nextInt();
System.out.print("input the principal: ");
double p = s.nextDouble();
/**************/
do {
amount = p*Math.pow(1+rate, i);
System.out.printf("%dt%4.2fn",i,amount);
i++;
}while (i <=day);
}
}
Hi,
Useful java program. Very well explained. Thanks for sharing.
Cheers,
http://www.flowerbrackets.com/do-while-loop-java/
System.out.println("THANK YOU");
You are best !!!!
My professor teaches us java from power points. FUCKING POWERPOINTS!
does this only work on counters?
1:37 Someone should make a compilation of Bucky's best moments
Keep going guys! Don't stop!