Computer Science, asked by ankhikundu88, 5 months ago

2. Print the product of first 5 natural numbers using for loop
con​

Answers

Answered by Anonymous
2

Answer:

hello,

its using python

Explanation:

#program to print the product of first 5 natural numbers using for loop

prod=1

for i in range(1,6):

   prod=prod*i

print("the product of first five natural number is :",prod)

___________________________________

hope it helps you

please mark brainliest

@ItzSnowySecret07

Similar questions