Skip to content
Tutorial World
  • Coding Problems
    • C Coding Problems
      • If-Else Program in C
      • While Loop Program in C
      • For Loop Program in C
      • Switch Program in C
      • Array Program in C
      • Pointer Program in C
      • String Program in C
      • Matrix Program in C
      • Linked List Program in C
    • Java Coding Problems
      • If-Else Programs in Java
      • While loop Programs in Java
      • For loop Programs in Java
      • String Programs in Java
      • Array Programs in Java
      • Switch Programs in Java
      • Matrix Programs in Java
      • Linked List Program in Java
    • Python Coding Problems
      • If-Else Program in Python
      • While Loop Program in Python
      • For Loop Program in Python
      • String Program in Python
      • Array Program in Python
      • Switch Program in Python
      • Matrix Program in Python
      • Linked List Program Python
  • Tutorials
    • C Tutorial
    • Java Tutorial
    • Java 8 Tutorial
    • Spring Boot Tutorial
  • Interview Prep
    • Java Interview
    • Spring Boot Interview
  • Cheatsheet
    • Java Program Cheat Sheet
    • Spring Boot Cheat Sheet
    • Spring Boot Annotations Cheat Sheet
  • Colleges
  • Toggle website search
Menu Close
  • Coding Problems
    • C Coding Problems
      • If-Else Program in C
      • While Loop Program in C
      • For Loop Program in C
      • Switch Program in C
      • Array Program in C
      • Pointer Program in C
      • String Program in C
      • Matrix Program in C
      • Linked List Program in C
    • Java Coding Problems
      • If-Else Programs in Java
      • While loop Programs in Java
      • For loop Programs in Java
      • String Programs in Java
      • Array Programs in Java
      • Switch Programs in Java
      • Matrix Programs in Java
      • Linked List Program in Java
    • Python Coding Problems
      • If-Else Program in Python
      • While Loop Program in Python
      • For Loop Program in Python
      • String Program in Python
      • Array Program in Python
      • Switch Program in Python
      • Matrix Program in Python
      • Linked List Program Python
  • Tutorials
    • C Tutorial
    • Java Tutorial
    • Java 8 Tutorial
    • Spring Boot Tutorial
  • Interview Prep
    • Java Interview
    • Spring Boot Interview
  • Cheatsheet
    • Java Program Cheat Sheet
    • Spring Boot Cheat Sheet
    • Spring Boot Annotations Cheat Sheet
  • Colleges
  • Toggle website search

Author: publisherpk

This author has written 150 articles
Write a program in C to print ASCII character with values

Write a program in C to print ASCII character with values

  • Post author:publisherpk
  • Post published:
  • Post category:C Coding

In this tutorial, you will learn how to write a C program to print ASCII characters with values by using for loop. Our problem statement ASCII is a code that…

Continue ReadingWrite a program in C to print ASCII character with values
C program to print LCM of two numbers

C program to print LCM of two numbers

  • Post author:publisherpk
  • Post published:
  • Post category:C Coding

In this tutorial, you will learn how to write a program to print LCM of two numbers by using for loop conditional statement. Our problem statement: Here, we have to…

Continue ReadingC program to print LCM of two numbers
C Program to swap values using third variable

C Program to swap values using third variable

  • Post author:publisherpk
  • Post published:
  • Post category:C Coding

In this tutorial, you will learn how to write a program to swap values using a third variable and a for-loop. Our problem statement Here we are taking two variables…

Continue ReadingC Program to swap values using third variable
C Program Find Largest Among Three Numbers

C Program to Find Largest Among Three Numbers

  • Post author:publisherpk
  • Post published:
  • Post category:C Coding

In this tutorial, you will learn how to write a C program to find the largest/maximum among three numbers. Our problem statement Here we have to take three integer inputs…

Continue ReadingC Program to Find Largest Among Three Numbers
check whether a given number is Prime or not using while loop

Java Program to check whether a given number is Prime or not using while loop

  • Post author:publisherpk
  • Post published:
  • Post category:Java Coding

A whole number greater than 1 that cannot be exactly divided by any whole number other than itself and 1 is called a prime number. For Example: 3, 5, 7…

Continue ReadingJava Program to check whether a given number is Prime or not using while loop
Print all natural numbers in reverse order While loop Java

Print all natural numbers in reverse order While loop Java

  • Post author:publisherpk
  • Post published:
  • Post category:Java Coding

Positive whole numbers are called Natural numbers. In this program, we are trying to print all the natural numbers in reverse using a while loop starting from n to 1.…

Continue ReadingPrint all natural numbers in reverse order While loop Java
Find Sum of input number digits in Java

Find Sum of input number digits in Java

  • Post author:publisherpk
  • Post published:
  • Post category:Java Coding

In this tutorial, we will be learning to write Java Program to print or calculate the sum of digits of a given number using a while loop. This program prints…

Continue ReadingFind Sum of input number digits in Java
Java Program to count the digits of a given number using while loop

Java Program to count the digits of a given number using while loop

  • Post author:publisherpk
  • Post published:
  • Post category:Java Coding

In this program, we are counting the number of digits present in a given number. For Example Suppose if the given number is say 51 Output should be 2 if…

Continue ReadingJava Program to count the digits of a given number using while loop
Java program to check given character is Vowel or Consonant

Java program to check given character is Vowel or Consonant

  • Post author:publisherpk
  • Post published:
  • Post category:Java Coding

In this tutorial, you will learn to write Java Program to check that given characters or alphabets are vowels or consonants. We will be using the if else statement of…

Continue ReadingJava program to check given character is Vowel or Consonant
Java Program to print sum of odd numbers between 1 to n using while loop

Java Program to print sum of odd numbers between 1 to n using while loop

  • Post author:publisherpk
  • Post published:
  • Post category:Java Coding

Any number when divided by 2 gives a remainder other than zero, which is an odd number. In our java program, we are using while loop to iterate the given…

Continue ReadingJava Program to print sum of odd numbers between 1 to n using while loop
Print sum of all even numbers between 1 to n using Java while loop

Print sum of all even numbers between 1 to n using while loop

  • Post author:publisherpk
  • Post published:
  • Post category:Java Coding

Any number divisible by 2 is an even number. Here we are using a while loop to iterate the given numbers range. And calculating the sum of all even numbers…

Continue ReadingPrint sum of all even numbers between 1 to n using while loop
Java Program to print sum of odd numbers between 1 to n using while loop

Java Program to print all odd number between 1 to 100 using while loop.

  • Post author:publisherpk
  • Post published:
  • Post category:Java Coding

Any number when divided by 2 gives a remainder other than zero which is an odd number. Here we are writing a Java program using a while loop to print…

Continue ReadingJava Program to print all odd number between 1 to 100 using while loop.
Print sum of all even numbers between 1 to n using Java while loop

Java Program to print even numbers between 1 to 100 using while loop

  • Post author:publisherpk
  • Post published:
  • Post category:Java Coding

Any number divisible by 2 is an even number. Here we will see a writing program using a while loop to print all even numbers between 1 and 100. When…

Continue ReadingJava Program to print even numbers between 1 to 100 using while loop
Print all natural numbers from 1 to n using while loop in Java

Print all natural numbers from 1 to n using while loop in Java

  • Post author:publisherpk
  • Post published:
  • Post category:Java Coding

Positive whole numbers are called Natural numbers. In this Java Program, we are trying to print all the natural numbers using a while loop starting from 1 to n. Here…

Continue ReadingPrint all natural numbers from 1 to n using while loop in Java
String Palindrome Program in Java

String Palindrome Program in Java

  • Post author:publisherpk
  • Post published:
  • Post category:Java Coding

To Check whether String is Palindrome or not using Java Program, First Let's know about Palindrome. What is Palindrome? A String is called a palindrome, when it is not changed…

Continue ReadingString Palindrome Program in Java
Java program to check two strings are anagram or not

Java program to check two strings are anagram or not

  • Post author:publisherpk
  • Post published:
  • Post category:Java Coding

In this tutorial, we are going to learn to write Java Program to check whether two given strings are anagrams or not? What is Anagram? Two Strings are called Anagram…

Continue ReadingJava program to check two strings are anagram or not
Java Program to check Person is valid for vote or not

Java Program to check Person is valid for vote or not

  • Post author:publisherpk
  • Post published:
  • Post category:Java Coding

To check whether the person is eligible the vote or not, the Person should complete the age of 18. This means A person age 18 or more is eligible/valid to…

Continue ReadingJava Program to check Person is valid for vote or not
Java Program to check whether a triangle is equilateral, isosceles or scalene triangle

Java Program to check whether a triangle is equilateral, isosceles or scalene triangle

  • Post author:publisherpk
  • Post published:
  • Post category:Java Coding

You have given the three sides of the triangle, now you have to identify whether the given triangle is an equilateral or isosceles, or scalene triangle. And We have to…

Continue ReadingJava Program to check whether a triangle is equilateral, isosceles or scalene triangle
Print number of days for given month in Java

Print number of days for given month in Java

  • Post author:publisherpk
  • Post published:
  • Post category:Java Coding

In this tutorial, you will be learning to write a Java Program to print the total number of days available in the given month and year. Here we are taking…

Continue ReadingPrint number of days for given month in Java
Java Program to print week day for a given input week

Java Program to print week day for a given input week

  • Post author:publisherpk
  • Post published:
  • Post category:Java Coding

In this tutorial, You will be learning writing Java Programs to print the weekdays for the given week in numeric form. For Example: Suppose the user has given input 3…

Continue ReadingJava Program to print week day for a given input week
  • Go to the previous page
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 8
  • Go to the next page

Categories

  • C Coding (53)
  • C Tutorial (23)
  • Cheatsheet (2)
  • Colleges (30)
  • HTML (7)
  • Java (44)
  • Java 8 (4)
  • Java Coding (77)
  • Java Interview (5)
  • Jobs (1)
  • Python Coding (10)
  • Spring Boot (13)
  • Spring Boot Interview (1)

Recent Posts

  • Finalize method in java with explanations
  • What is printStackTrace in Java? Detailed Explanation
  • Calculate max integer value in java
  • C Program To Check A Given Number Is Perfect Or Not Using While Loop
  • C Program to Print Armstrong Numbers using While Loop between 1 to n
  • Check if number is divisible by 3 using python if-else
  • Print the Maximum Number Among Three Using Python If-Else
  • C Program to Check Armstrong Numbers using While Loop
  • List of All Spring Boot Annotations, Uses with examples
  • Sum Of Prime Numbers Between 1 to n using While Loop C Program
  • Check Given Number Is Prime Or Not Using While Loop in C
  • Print Natural Numbers In Reverse Using While Loop C Program

Categories

  • C Coding
  • C Tutorial
  • Cheatsheet
  • Colleges
  • HTML
  • Java
  • Java 8
  • Java Coding
  • Java Interview
  • Jobs
  • Python Coding
  • Spring Boot
  • Spring Boot Interview
Copyright - WordPress Theme by OceanWP