Want To Start Learning Programming?

If your just starting your journey to code or want to re-learn the basics ,here are some basic programs you can practice .

Want To Start Learning Programming?

Topics you will cover

  • Loops
  • if-else statements
  • how to reverse a number
  • how to reverse a string
  • 1) Palindrome Program

    A palindrome number is a number that is same after reverse. For example 545, 151, 34543, 343, 171, 48984 are the palindrome numbers. It can also be a string like LOL, MADAM etc.

  • javatpoint.com/palindrome-program-in-java

  • 2)Fibonacci series

    In fibonacci series, next number is the sum of previous two numbers for example 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55 etc. The first two numbers of fibonacci series are 0 and 1.

  • javatpoint.com/fibonacci-series-in-java

  • 3) Prime Number Program

    rime number is a number that is greater than 1 and divided by 1 or itself only. In other words, prime numbers can't be divided by other numbers than itself or 1. For example 2, 3, 5, 7, 11, 13, 17.... are the prime numbers.

  • javatpoint.com/prime-number-program-in-java

  • 4) Factorial Program

    Factorial of n is the product of all positive descending integers. Factorial of n is denoted by n!.

  • javatpoint.com/factorial-program-in-java

  • 5) Armstrong Number

    An Armstrong number is a positive m-digit number that is equal to the sum of the mth powers of their digits. It is also known as pluperfect, or Plus Perfect, or Narcissistic number. It is an OEIS sequence A005188

  • javatpoint.com/armstrong-number-in-java

  • 6) How to Print Patterns

    pattern program enhances the coding skill, logic, and looping concepts. It is mostly asked in Java interview to check the logic and thinking of the programmer. We can print a Java pattern program in different designs. To learn the pattern program, we must have a deep knowledge of the Java loop, such as for loop do-while loop.

  • javatpoint.com/how-to-print-pattern-in-java