Sorting a String in Alphabetical Order C Program – If we are given a problem then, the first step is to understand the problem statement fully and also make sure that, if any constraints are mentioned then they are taken note of. The next step is, to determine the necessary inputs to solve the given problem. Following this, we also ...
Read More »Author Archives: Java Tutor
C Program : Remove All Characters in String Except Alphabets
C program to remove all Characters in a String Except Alphabet – When given a problem statement before directly jumping into solution, we need to first understand the problem statement thoroughly and then, also note down if any constraints are mentioned. Next, we have to determine the inputs necessary to arrive at a solution along with the output to expect ...
Read More »C Program : Remove Vowels from A String | 2 Ways
C Program Remove vowels from a string – If a problem statement is given, the first step is to understand it completely and also see if there are any constraints mentioned. Then, we decide on the inputs required to solve this along with the output to expect at the end. Later, we determine the logic to be used to get ...
Read More »Plus Star Pattern Java Program | Patterns
Java program to print plus star pattern program – We have written the below print/draw Plus asterisk/star pattern program in four different ways with sample example and output, check it out. At the end of the program, we added compiler such that you can execute the below codes. Print Plus Star Pattern – Using For Loop Print – Using While Loop ...
Read More »C Program To Count The Total Number Of Notes In A Amount | C Programs
C program to count the total number of notes in a given amount – In this article, we will brief in on the method to count the total number of notes in a given amount. 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 ...
Read More »Prime Number Java Program – 1 to 100 & 1 to N | Programs
Prime Number Java Program – Java Program to Check Whether a Number is Prime or Not using different methods. The compiler has also been added so that you can execute the programs yourself, alongside suitable examples and sample outputs added for each program. Also, we will see the method of how to find out prime numbers between 1 to n, ...
Read More »Java Mirrored Right Triangle Star Pattern Programs | Patterns
Java program to print mirrored right triangle star pattern program. We have written below the print/draw mirrored right triangle 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. Print Mirrored Right Triangle Star Pattern – Using For ...
Read More »Java Inverted Right Triangle Star Pattern Program | Patterns
Java program to print Inverted right triangle star pattern program. We have written below the print/draw inverted right triangle 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. Using For Loop Using While Loop Using Do While ...
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 »Java Program To Display Transpose Matrix | 3 Ways
Java Program to display/print the transpose of a given matrix. The following program to print the transpose of a matrix has been written in three different possible ways which have been shared here: Using For Loop Using While Loop Using Do-While Loop The compiler has been added to the aforementioned, so that you can execute the programs, along with suitable ...
Read More »