Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package cz.czechitas.beginnerjava.homework;
- public class VendingMachine {
- public static void main(String[] args) {
- VendingMachine myApp = new VendingMachine();
- myApp.run();
- }
- public void run() {
- System.out.println("Hello we are going to start a Multiplacation Table");
- int counter;
- for (counter = 0; counter < 9; counter++) {
- System.out.println("Vending machine " + (counter + 1)*(11));
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement