c

3 different C programs to find the sum of first n even natural numbers

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.

Read
c

3 different C programs to find the sum of first n odd natural numbers

C 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.

Read
c

C program to find the sum of first n natural numbers

C 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.

Read
dart

Different ways to create a HashSet in Dart

Different ways to create a HashSet in Dart. Learn different constructors of HashSet and difference between HashSet.of and HashSet.from methods with examples.

Read
c

5 different C programs to print all natural numbers from 1 to n

C 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.

Read
c

C program to find the nth Armstrong number

This 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.

Read
java

Java program to check if a string is a prime number or not

Java 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.

Read
java

Java program to find all prime numbers from 1 to N

Java 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.

Read
java

Java program to check if a given number is a prime number or not

Java 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.

Read
java

Java program to check if a string is palindrome or not

Java 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