Latest :

Author Archives: Java Tutor

Palindrome Program In Java – 5 Ways | Programs

Palindrome program in Java – Here, we will discuss the various methods to check whether a given number is a palindrome or not. A compiler is added so that you can execute the program yourself, alongside various examples and sample outputs are given. The methods aforementioned are: Print using For Loop Print using Static Method Print using Recursion Print using ...

Read More »

Java Program to Add Two Matrices – 4 Ways | Programs

Java program to add two matrices – The following Java Code will let you know how to perform two matrix addition using Java. Soon we will add compiler to execute the Program below each method. We have written the Program in 3 Possible ways. Here it is, Using For Loop Using While Using Do-While Addition of two matrices can be ...

Read More »

Merge Sort Java – Program 2 Ways | Sortings

Merge Sort Java –  Java program to implement merge sort using array & Buffered reader. Check out the list of complete Java sorting programs here. Using Array Using Buffered Reader The compiler is also added to the aforementioned so that you can execute the program yourself, alongside suitable outputs and examples. Merge Sort is a basic comparison based sorting algorithm which ...

Read More »

Implement Bubble Sort Java – Algorithm | 2 Easy Ways

Bubble Sort in Java – We will discuss the different methods to Implement Bubble Sort in 2 Simple ways. The compiler has been added so that you easily execute the programs yourself, alongside suitable examples and sample outputs added to implement bubble sort – List of all sorting Programs In Java Program – Using Array. Program – Using Buffered Reader. Bubble ...

Read More »

C Program To Input Any Alphabet And Check Whether It Is Vowel Or Consonant

C program to input any alphabet and check whether it is vowel or consonant – In this article, we will demonstrate the way to check whether any inputted alphabet is a vowel or consonant in C programming. Suitable examples and sample programs have also been added so that you can understand the whole thing very clearly. The compiler has also ...

Read More »

Left Arrow Star Pattern Java Program – Patterns

Java program to print Left Arrow star pattern program. We have written below the print/draw Left Arrow asterisk/star pattern program in four different ways with sample example and output, check it out. At the end of the program, we have added compiler so that you can execute the below codes – List of Complete Pattern Programs in Java here. Print Left ...

Read More »

Java Program Sum Of digits Of A Number | Programs

Java program to calculate the sum of digits of a number. Here we will discuss the various methods to calculate the sum of the digits of any given number with the help of Java Programs. The compiler has been added so that you can execute the program yourself, alongside suitable examples and sample outputs. The methods as mentioned above are: ...

Read More »

GCD Of Two Numbers In Java – Programs | 5 Ways

Java program to find out the GCD between two numbers. Here, we will discuss the various methods to find out the GCD between two numbers. Also, we’ll learn how to calculate the GCD of n numbers. Soon Compiler has added to it so that you can execute the set of programs yourself. The methods as aforementioned are: Using Static Method ...

Read More »

C Program Inverted Pyramid Star Pattern | 4 Ways – C Programs

C Program to print an inverted pyramid star pattern – In this article, we will detail in on the multiple ways to print an inverted pyramid star pattern in C programming. Suitable examples and sample programs have also been added so that you can understand the whole thing very clearly. The compiler has also been added with which you can ...

Read More »

C Program To Check A Number Is Negative, Positive Or Zero | C Programs

C program to check whether a number is negative, positive or zero – In this article, we will detail in on the multiple ways to check whether a number is negative, positive or zero in C programming. Suitable examples and sample programs have also been added so that you can understand the whole thing very clearly. The compiler has also ...

Read More »