Posts

Showing posts with the label COMPUTER APPLICATIONS

SWITCH CASE Program- 1

Image
Write a menu driven program in JAVA to perform the following operations 1-Palindrome number  A palindrome number is a number that reads the same backwards as forwads For example: Forwards -5556555 Backwards- 5556555 2-Perfect number A perfect number is a number that is equal to the sum of its proper divisors. For example: 28 Sum of proper divisors : 1+2+4+7+14 = 28

PATTERN Program- 4

Image
Write a program in JAVA to print the following pattern 12345 12341 12312 12123 11234

PATTERN Program- 3

Image
Write a program in JAVA to print the following pattern 54321 5432 543 54 5

PATTERN Program- 2

Image
Write a program in JAVA to print the following pattern 1 12 123 1234 12345

PATTERN Program- 1

Image
Write a program in JAVA to print the Floyd's Triangle. 1  2 3  4 5 6  7 8 9 10  11 12 13 14 15  16 17 18 19 20 21  22 23 24 25 26 27 28