Ticker

6/recent/ticker-posts

Java Assignment By ASR Group.

1.Write a program to print Fibonacci 
series. Series length should be taken 
from user.

2.Write a program to print whether 
the user given number is prime or not.

3.Write a program to print all prime 
numbers in range given by user.

4.Write a program check whether 
given string is Palindrome or not.(Hint: 
Palindrome: Malayalam)

5.Write a program to check given 
number is an Armstrong number or not.
(Hint: Armstrong Number: 153 = (1*1) + 
(5*5) + (3*3) = 153 

6.Write a program to copy all elements 
of one array given by user into another 
array.


7.Write a program to print thee of an array.

8.Write a program to check whether 
given string is Pangram or not.(Hint: 
Pangram mean sentence collecting all 
the alphabets)(For Example: "The quick 
brown fox jumps over the lazy dog".

9.Write a program to print the 
elements of an array in reverse order.Code:
Output
10.Write a program to print the 
number of elements present in an array.

11.Write a program to print the largest 
element present in an array.

12.Write a program to print the 
smallest element present in an array.

13.Write a program to print the sum of 
all elements present in an array.

14.Write a program to print the 3rd 
largest number in an array.

15.Write a program to sort the 
elements of an array in ascending order.

16.Write a program to sort the 
elements of an array in descending 
order.

17.Write a program to print the 2nd 
smallest number in an array.

18.Write a program to multiply two 
matrices [3 * 3].

19.Write a program to determine 
whether two matrices are equal.

20.Write a program to subtract two 
matrices [3 * 3].


Post a Comment

0 Comments