Ask your Question

PEOPLE YOU MIGHT KNOW

Pooja
Pooja

Chiplun,  India
Everest Educational
Everest Educational

Visa Consultants in Punjab

Ludhiana,  India
Vikas
Vikas

Web developer

Gurgaon,  India
Space
Space

Courier Services

Birmingham,  United Kingdom
MobileComm
MobileComm

MobileComm Professionals Inc.

Richardson,  United States

Write to us

Ask Question

Program to print this series.

Srinu Don

2,14,84,420,1680,5040

Srinu Don
profile Tarun 15th February 2019

The pattern of the number series is :

2 * 7 = 14
14 * 6 = 84
84 * 5 = 420
420 * 4 = 1680
1680 * 3 = 5040
5040 * 2 = 10080

Here is the method to print this series:

int i = 7;
int num = 2;
for (i; i > 0; i--) {
num = num * i;
println(num);
}

Write a comment ...
Post comment
Cancel

Please rotate your device

We don't support landscape mode on your device. Please rotate to portrait mode for the best view of our site