C Program to Check Armstrong Number

In this C programming example, we will write a program to check Armstrong Number in C. We will start with Armstrong Number. Before that, you should have knowledge of the following topics in C programming. What is an Armstrong Number? A number is said to be an Armstrong Number if even after the sum of … Read more

C Program to Generate Random numbers within a Range

In this tutorial, you will learn to generate random numbers within a range in C programming. But before that, you may go through the topic below if you do not know about the rand() and srand() function used in random numbers generation. Here we will use srand() function provided in C to generate random numbers. … Read more

C Program to Generate Random Numbers

In this C program section, we will learn how to generate random numbers in C programming. Let us start with random numbers. What is Randon Number? We can define Random as something that happens without any conscious decision. Similarly, a random number is a number that is chosen unpredictably or randomly from the set of … Read more

Keith Number in Java

In this java programming tutorial, you will learn about Keith Number and its implementation in java. It is frequently asked in Java coding. What is Keith Number? A positive n digit number x is called a Keith number or repfigit number (repetitive Fibonacci-like digit) if it is arranged in a special number sequence generated using its … Read more

Fascinating Number in Java

In this java program tutorial, we will learn about Fascinating Number and its implementation through Java. We will check whether the number Fascinating Number or not and also another program to find the find Fascinating Number within a given range in java. What is Fascinating Number? A number is said to be a fascinating number … Read more

C Program to Convert Number to Words

In this tutorial, we will create a C program to Convert Numbers to Words. Consider a number 278 is taken as an input, now the program will convert this numeric value to words such as “Two Hundred Seventy Eight”. We have to create a program keeping the place values in minds such as ones, tens, … Read more

Tech Number Program in Java

In this tutorial, we will learn about Tech numbers and create a Java program to check for Tech numbers. We will see two java examples on Tech Numbers with Java Programming. What is Tech Number? A number is said to be Tech Number if the number is an even digit number and is equally divided into two halves. After … Read more

Sunny Number in JAVA

In this tutorial, we will learn about Sunny numbers and create a Java program to check for sunny numbers. We will see two java examples on Sunny Number. What is Sunny Number? A number N is said to be a sunny number if the number next to the given number (N+1) is a perfect square. Example: Let us take a Number … Read more

Peterson Number in Java

In this tutorial, we will learn about the Peterson number and check if the number is Peterson or not in java. What is Peterson Number? A number is said to be a Peterson number if the sum of factorials of each digit of the number is equal to the number itself. Example: Number = 145145 … Read more

C Program to Find GCD of two Numbers

This tutorial will teach you how to find the GCD (Greatest Common Divisor) or HCF of two numbers in C. To understand this example, you should have knowledge of the following C programming topics. The GCD(Greatest Common Divisor) of two integers is the largest integer that can exactly divide both numbers (without a remainder). Example: HCF of … Read more