Telegram Group & Telegram Channel
20. Program to Create Multiplication Table.

import java.util.Scanner;

class MultiplicationTable
{

public static void main(String args[])
{

int n, c;
System.out
.println("Enter an integer to print it's multiplication table");

Scanner in = new Scanner(System.in);
n = in.nextInt();
System.out.println("Multiplication table of " + n + " is :-");

for (c = 1; c <= 10; c++)
{
System.out.println(n + "*" + c + " = " + (n * c));
}

}
}

@Cpp_Codings



tg-me.com/java_codings/29
Create:
Last Update:

20. Program to Create Multiplication Table.

import java.util.Scanner;

class MultiplicationTable
{

public static void main(String args[])
{

int n, c;
System.out
.println("Enter an integer to print it's multiplication table");

Scanner in = new Scanner(System.in);
n = in.nextInt();
System.out.println("Multiplication table of " + n + " is :-");

for (c = 1; c <= 10; c++)
{
System.out.println(n + "*" + c + " = " + (n * c));
}

}
}

@Cpp_Codings

BY Advance Java πŸ‘¨β€πŸ’»


Warning: Undefined variable $i in /var/www/tg-me/post.php on line 283

Share with your friend now:
tg-me.com/java_codings/29

View MORE
Open in Telegram


Advance Java ‍ Telegram | DID YOU KNOW?

Date: |

Why Telegram?

Telegram has no known backdoors and, even though it is come in for criticism for using proprietary encryption methods instead of open-source ones, those have yet to be compromised. While no messaging app can guarantee a 100% impermeable defense against determined attackers, Telegram is vulnerabilities are few and either theoretical or based on spoof files fooling users into actively enabling an attack.

Advance Java ‍ from hk


Telegram Advance Java πŸ‘¨β€πŸ’»
FROM USA