Computer Science, asked by sunshineeee0905, 1 year ago

Plzzz answer fast !!
Primorial(p#) is defined to be a product of prime numbers less than or equal to p. (15)
For eg. 3# =2*3=6 5# =2*3*5=30 Design a class primo_numb with two methods

to check whether entered number is prime number or not
to print the primorial of that number.

Answers

Answered by khushi3219
2

I haven't made the class but done the part to prove it is primorial.

Attachments:

sunshineeee0905: Thnkyusomuch☺️☺️☺️☺️☺️
sunshineeee0905: R you sure it's right?
khushi3219: according to me it is right.......
sunshineeee0905: Ok thanks☺️☺️☺️☺️☺️☺️☺️☺️
neelabhrohillauk: hi
neelabhrohillauk: kushi
neelabhrohillauk: khushi*
Similar questions