Pages
(Move to ...)
Assignment
Synopsis
C
Graphics
Compiler
C#
DCN
DBMS
Discrete Math
DS
IT Fun
Java
Json
NIELIT
Notes
Office
OOPS
OS
PHP
Project
Phython
Question
SSAD
Web
UGC Net
VB
ASP
▼
Thursday, 16 February 2017
First n Multiplies of given number
Q : Write a program to display First n Multiplies of given number?
Solution :
class Multiples {
void Multi(int n) {
int d;
for (d = 1; d <= n; d++) {
System.out.println(d * n);
}
}
}
Download Source Code
Next Question
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment