Computer Science, asked by mullicksashreek, 1 month ago

Pls. give me 15 Java Programs with questions and variable description and output. There should be a mixture of if-else, switch, loop, strings,etc. I promise to mark the answer brainliest.​

Answers

Answered by hiteshgyanchandani6
3

  1. Write a Java program that keeps a number from the user and generates an integer between 1 and 7 and displays the name of the weekday. Ex 3 so expected output Wednesday.
  2. Write a program in Java to input 5 numbers from keyboard and find their sum and average
  3. Write a program in Java to display the multiplication table of a given integer( imp).
  4. Write a Java program to concatenate a given string to the end of another string.
  5. Write a Java program to get the length of a given string.
  6. Write a Java program to get a substring of a given string between two specified positions (imp).
  7. Write a java Program to Check Whether a Character is Alphabet or Not.
  8. Java Program to Find Factorial of a Number (imp).
  9. Java Program to Display Fibonacci Series.
  10. Java Program to Reverse a Number.
  11. Java Program to Check Palindrome or Not
  12. Java Program to Check Whether a Number is Prime or Not (imp).
  13. Java Program to Check Armstrong Number.
  14. Java Program to Make a Simple Calculator Using switch...case
  15. Java Program to Count Number of Digits in an Integer.
Answered by gs7729590
0

  • Write a Java program that keeps a number from the user and generates an integer between 1 and 7 and displays the name of the weekday. Ex 3 so expected output Wednesday.
  • Write a program in Java to input 5 numbers from keyboard and find their sum and average
  • Write a program in Java to display the multiplication table of a given integer( imp).
  • Write a Java program to concatenate a given string to the end of another string.

Similar questions