Você está na página 1de 2

1.

Write a program accept width and height of the rectangle


and calculate the area of the rectangle.
2. Write a java program to find out the average of marks you
scored in your 10
th
Std.
3. Write a program in java to accept a number from the user
and compute the sum of the digits of the numbers.
4. Write a Java program to display the first 10 fibbonacci
numbers.
5. Write a Java program, which accept temperature in Celsius
and convert the temperature in Farehanite. Display both
temperatures.
6. Write a Java Program, which accepts any three numbers from
command Line arguments and print the largest number form
them.
7. Write a Java program, to find the given number is Armstrong
number or not Armstrong. i.e. summation of cube of each digit
is equal to given number.
8. Write a java Program to accept n no s through the command
line and store all the prime no s and perfect no s into the
different arrays and display both the arrays.
9. Write a program in Java to accept name of cities from the user
and sort them in ascending order (Use Command Line
Arguments).
10. Write a java program that reads line of integers. Display
each integer and also display sum of all integers
11. Write a program in java to check whether the entered
character is alphabet, digit or space character. If it is alphabet
then print whether it is capital or small alphabet. Also change
the alphabet into the reverse case.
12. Write a Java program to multiply two matrices.
13. WAJP to transpose a matrix.
14. WAJP to print a multiplication table.

Você também pode gostar