C program to find the sum of first n even natural numbers. We will learn 3 different ways to find the sum of first n even natural numbers in C programming.
ReadC program to find the sum of first n odd natural numbers. We will learn 3 different ways to find the sum of first odd n natural numbers in C programming.
ReadC program to find the sum of first n natural numbers. We will learn 4 different ways to find the sum of first n natural numbers in C programming.
ReadDifferent ways to create a HashSet in Dart. Learn different constructors of HashSet and difference between HashSet.of and HashSet.from methods with examples.
ReadC program to print all natural numbers from 1 to n. We will learn 5 different ways to print all natural numbers within a limit. This program will take the limits as inputs from the user and print the numbers.
ReadThis post will show you how to find the nth Armstrong number in C. We will write a program that will take the value of n as an input from the user and print the value of nth Armstrong starting from 1.
ReadJava program to check if a string is a prime number or not. This program will take a string value as an input from the user and print if it is prime. We will learn 3 different ways to do that.
ReadJava program to find all prime numbers from 1 to N. This post will show you how to find if a number is prime or not and how to find all prime numbers in a range in Java.
ReadJava program to check if a number is prime number or not. This post will show you two different ways to check if a number is a prime number or not in Java.
ReadJava program to check if a string is palindrome or not. A string is called a palindrome string if it is equal to its reverse or if we reverse the characters, it will be equal to the original string.
Read