Search
 
SCRIPT & CODE EXAMPLE
 

JAVA

multiplication table using while loop in java

public class MultiplicationTable {

    public static void main(String[] args) {

        int num = 9, i = 1;
        while(i <= 10)
        {
            System.out.printf("%d * %d = %d 
", num, i, num * i);
            i++;
        }
    }
}
Comment

PREVIOUS NEXT
Code Example
Java :: array contain java 
Java :: mouselistener in java 
Java :: Add month to date in java 8 
Java :: java program to remove duplicate words in a string 
Java :: java write to a file 
Java :: java initialize class 
Java :: register watch service java 
Java :: Changing background color of selected item in recyclerview 
Java :: java array sortieren 
Java :: how to sum a 2d array in java 
Java :: java substring based on delimiter 
Java :: richest customer wealth 
Java :: what is transient in java 
Java :: java leap years 
Java :: java explicit array declaration 
Java :: how to change a character in a string in java with ascii 
Java :: Java Create an OutputStream 
Java :: button getsource 
Java :: print in java 
Java :: android java textview weight programmatically 
Java :: java string character at index 
Java :: remove duplicates from string in java 
Java :: settext java 
Java :: java pointer 
Java :: program to check if the given date is in in the format dd/mm/yyyy java 
Java :: java max value between two numbers 
Java :: currency formatter java 
Java :: remove last node from linked list java 
Java :: BodyContentImpl memory leak 
Java :: java opp 
ADD CONTENT
Topic
Content
Source link
Name
7+1 =