DEV Community

PONVEL M
PONVEL M

Posted on

LCM, Sum of numbers, and Factorial

1. LCM (Least Common Multiple)

Flow chart:

In Python:

In Java:

In JavaScript:

2. Find the sum of n numbers :

Flow chart:

In Python

Output:

In Java:

In JavaScript

3.Find the factorial of given number:

Flow chart:

In Python

In Java:

In JavaScript

Top comments (0)