MihutBalasanu / VM

0 stars 0 forks source link

Loading bar #3

Closed nicolaeabacioaiei closed 6 years ago

nicolaeabacioaiei commented 6 years ago

https://github.com/MihutBalasanu/VendingMachine/blob/a81ba569d48e6805a15cc6bc71f6f6d133b31b9f/20181021_VendingMachine/src/VendingMachine.java#L132

Aici ai nevoie doar de un for de la 1 la 10 sa zicem in care faci print(".") apoi tot in for faci Thread.sleep(1000) Asta inseamna ca la o secunda o sa afiseze "." iar in total ia 10 secunde ca sa afiseze ".........."