The document contains 15 programming problems in Java with page numbers. The problems include generating patterns, checking for palindromes, factorials, prime numbers, Armstrong numbers, and comparing/swapping values.
The document contains 15 programming problems in Java with page numbers. The problems include generating patterns, checking for palindromes, factorials, prime numbers, Armstrong numbers, and comparing/swapping values.
1 WAP in Java to print Fibonacci series 236 PRG 12
2 WAP in Java to swap two values 98 PRG 19 WAP in Java to display squares , cubes , 163 PRG 8.1 3 square roots and cube roots. WAP in Java to check if the 2 digit no. is palindrome 180 PRG 9.7 4 number or not. WAP in Java to input number of week's day( 1-7 ) and 186 PRG 9.12 5 translate it into name. WAP in Java to print a pattern 246 PRG 11.4 6 WAP in Java to generate the given pattern using 252 PRG 6 7 iteration(loop) statements: WAP in Java to print the Floyd's triangle 253 PRG 7 8 WAP in Java to calculate the factorial of an integer 216 PRG 10.13 9 using while loop. WAP in Java to input a number and test if it is a prime 229 PRG 10.33 10 number. WAP in Java to find whether the given number is 222 PRG 10.24 11 Armstrong no. or not. WAP in Java to check whether a given number is 236 PRG 12 12 perfect no. or not. WAP in Java that reads two integer a and b and 131 PRG 17 returns greater of a to power b and bto the power a 13 values. WAP in Java to print the sum of digits of a given 219 PRG 10.19 14 number. WAP in Java to compare two given numbers and 175 PRG 9.1 display which of them is greater or whether they are 15 equal.
Tshri Vile Parle Kelvani Mandal'S D. J. Sanghvi College of Engineering Department of Information Technology Semester: Iii Subject: Java Programming Lab
Tshri Vile Parle Kelvani Mandal'S D. J. Sanghvi College of Engineering Department of Information Technology Semester: Iii Subject: Java Programming Lab