J. Write a program to display all of the integers from 1 up to and including some integer entered by the
user followed by a list of each number's prime factors. Numbers greater than 1 that only have a single
If it is above 100, print that the
a 1 a
prime factor will be marked as prime.
For example, if the user enters 10 then the output of the program should be :
Enter the maximum value to display: 10
1 = 1
2 = 2 (prime)
3 = 3 (prime)
4 2x2
5 = 5 (prime)
6 = 2x3
7 = 7 (prime)
8 = 2x2x2
9 = 3x3
10 2x5
=
Answers
Answered by
1
Answer:
सीआई और डु है आपने कभी भी कर दिया था रोहित ने अपने ऊपर लगे कीजिए अपने जीवन मे
Similar questions
English,
2 months ago
Social Sciences,
2 months ago
Math,
2 months ago
India Languages,
4 months ago
Math,
4 months ago
Geography,
10 months ago
Physics,
10 months ago
Math,
10 months ago