The document is an index of various programming exercises, primarily in Java, covering topics such as prime number checking, factor finding, Fibonacci series, and pattern generation. It lists ten different programs along with their corresponding page numbers for easy reference. Additionally, there is an acknowledgment section at the end.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
10 views1 page
Index
The document is an index of various programming exercises, primarily in Java, covering topics such as prime number checking, factor finding, Fibonacci series, and pattern generation. It lists ten different programs along with their corresponding page numbers for easy reference. Additionally, there is an acknowledgment section at the end.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1
INDEX
Sr.no Programs Pg.no
1. Certificate 2. Program- 1 :-Program to accept a number and check whether it is 1-2 a prime number or not. Finally Display the Outcome Accordingly 3. Program- 2 :-Program to accept a number. Finding and displaying all its Factors ( including 1 & excluding the number itself ) 3 4. Program- 3 :-Program to display the first 10 Numbers of the Fibonacci series : 0, 1, 1, 2, 3, …………………. 4-5
5. Program- 4 :-Program to display the sum of positive even numbers
and negative odd numbers 6-7
6. Program- 5 :-Program to input a number. Displaying the sum of
each digit, raised to the power of the number of digits 8,9
7. Program-6 :-Write a program in java to display the given pattern:-
1 35 10 579 7 9 11 13 9 11 13 15 17 8. Program-7 :- Write a program in java to display the given pattern:- 1234567 12345 11 123 1 9. Program-8 :- Write a program in java to display the given pattern:- * ** *** 12 ***** ****** 10. Program-9 :- Write a program in java to find the sum of the factorial of all the natural numbers for 1 to n 13,14 ( Hint: Factorial of 5! = 5*4*3*2*1) S =1! + 2! + 3! + 4! + ……………….. +n! 11. Program-10:- Write a program in java to generate a triangle or an inverted triangle till ‘n’ terms based upon user’s choice of triangle 15,16 to be displayed. 12. Acknowledgement 17