Armstrong number in Java. Here we have written the code in four different ways standard, using for loop, recursion, while loop and also with different examples as like: between 100 and 999, between 1 to 1000 and between 1 to 500 with sample outputs and online execution tool embedded. What is Armstrong Number? A: An Armstrong number of three digits is an ...
Read More »Author Archives: Java Tutor
C Program To Check Number Is Divisible By 5 and 11 or Not | C Programs
C program to check whether a number is divisible by 5 and 11 or not – In this article, we will detail in on the only way to determine whether a number is divisible by 5 and 11 or not. Suitable examples and sample programs have also been added so that you can understand the whole thing very clearly. The ...
Read More »C Program To Check Whether A Character Is Alphabet or Not
C Program to check for an alphabet or not – In this particular article, we will detail in on the standard method used to check for an alphabet or not 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 ...
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 »Turmoil in Life – Work from Home & Imbalance
Life before the COVID Pandemic could only be given a particular nickname, complacent! Without singling out a certain individual or community, almost all of us certainly took our lives and livelihood for granted. The complacency with which we used to live and lead our lives was unprecedented. However, the year 2020 itself brought upon a plethora of challenges for us. ...
Read More »C Program To Check Whether A Year Is Leap Year Or Not | C Programs
C program to check whether a year is a leap year or not – In this article, we will talk about the way to check whether a year is a leap year or not. 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 ...
Read More »Inverted Pyramid Star Pattern Java Program
Java program to print Inverted Pyramid star pattern program – We have written below the print/draw Inverted Pyramid 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 Loop Using For ...
Read More »Java Hollow Inverted Mirrored Right Triangle Star Pattern
Java program to print hollow inverted mirrored right triangle star pattern program. We have written below the print/draw hollow inverted 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. Using For Loop Using While ...
Read More »Java Program To Convert Decimal To Binary | Vice Versa
Java program to convert decimal to binary. Here is the following code that you are searching for it. The following program has been written in three different ways using arrays, using the static method, using recursion, and vice versa conversion from Binary to decimal. What is binary and how it represents? A binary number is a number expressed in the ...
Read More »Java Program To Find nCr & nPr | 5 Ways
Java program to find nCr and nPr. Here, we will discuss the various methods to permutations and combinations using Java. The compiler has been added so that you can execute the programs yourself, alongside suitable examples and sample outputs. The methods discussed are: Using Function. Using Static Method. Using For Loop. Using Recursion. Permutation: is the process of arrangement of ...
Read More »