- Write a java program to print hello word.
- Write a Java program to print 'Hello' on screen and then print your name on a separate line.
- Write a Java program to print the sum of two numbers.
- Write a Java program to divide two numbers and print on the screen.
- Write a Java program to print the result of the following operations.
- a. -5 + 8 * 6
- b. (55+9) % 9
- c. 20 + -3*5 / 8
- d. 5 + 15 / 3 * 2 - 8 % 3
- Write a Java program that takes two numbers as input and display the product of two numbers.
- Write a Java program to print the sum (addition), multiply, subtract, divide and remainder of two numbers.
- Write a Java program that takes a number as input and prints its multiplication table upto 10.
- Write a Java program to display the following pattern.
- J a v v a
- J a a v v a a
- J J aaaaa V V aaaaa
- JJ a a V a a
- Write a Java program to compute the specified expressions and print the output.
- ((25.5 * 3.5 - 3.5 * 3.5) / (40.5 - 4.5))
- Write a Java program to compute a specified formula.
- 4.0 * (1 - (1.0/3) + (1.0/5) - (1.0/7) + (1.0/9) - (1.0/11))
- Write a Java program to print the area and perimeter of a circle.
- Write a Java program that takes five numbers as input to calculate and print the average of the numbers.
- Write a Java program to print the area and perimeter of a rectangle.
- Write a Java program to print an Indian flag on the screen.
- Write a Java program to swap two variables.
- Write a Java program to print a face.
- +"""""+
- [| o o |]
- | ^ |
- | '-' |
- +-----+
- Write a Java program to add two binary numbers.
- Test Data:
- Input first binary number: 100010
- Input second binary number: 110010
- Write a Java program to multiply two binary numbers.
- Test Data:
- Input first binary number: 110
- Input second binary number: 101
- Write a Java program to convert a decimal number to binary number.
- Write a Java program to convert a decimal number to hexadecimal number.
- Write a Java program to convert a decimal number to octal number.
- Write a Java program to convert a binary number to decimal number.
- Write a Java program to convert a binary number to hexadecimal number.
- Write a Java program to convert a binary number to a Octal number.
- Write a Java program to convert a hexadecimal to a decimal number.
- Write a Java program to convert a hexadecimal to a binary number.
- Write a Java program to convert a hexadecimal to a octal number.