javascript

4 JavaScript program to check if the first character of a string is in lower case or not

How to check if the first character of a string is in lower case or not in JavaScript. We will learn 4 different ways to check it in JavaScript.

Read
javascript

How to check if an object is null or undefined in JavaScript

Learn how to check if an object is null or undefined in JavaScript. We can do it by using equality operator ==, strict equality operator ===, and by using typeof.

Read
javascript

4 ways in JavaScript to check if a string starts with a number

Learn how to check if a string starts with a number in JavaScript in 4 different ways. We will use charCodeAt, charAt, isNaN function and Regex to check it.

Read
c

C program to find all disarium numbers from 1 to 100

In this C programming tutorial, we will learn how to find all disarium numbers from 1 to 100. We will use 2 different ways to find the disarium numbers in a given range.

Read
c

C program to print all Deficient numbers from 1 to 100

C program to print all deficient numbers from 1 to 100. A number is called a deficient number if the sum of its divisors is less than twice the value of that number.

Read
c

C program to check if a character is uppercase using isupper

C program to check if a character is uppercase or not using isupper. The isupper method is defined in the ctype.h header file. This post will show you how to use isupper with example.

Read
c

C program to check if a character is lowercase using islower

C program to check if a character is in lowercase or not by using the islower method. This method is defined in the ctype header file and we need to use this header file to use this method.

Read
c

C program to find all Abundant numbers from 1 to 100

C program to find abundant or excessive numbers from 1 to 100. This post will show you 2 different ways to find all abundant numbers in a given range.

Read
c

C program isxdigit method example to check if a character is hexadecimal

C program to check if a character is hexadecimal or not by using the isxdigit method. isxdigit is defined in ctype.h header file and it is used to check if a character is hexadecimal or not.

Read
c

C program to find if a number is a Deficient number or not

C program to check if a number is deficient or not. This program will take a number from the user as input and check if it is a deficient number.

Read