Java program to check if a number is a Carmichael number

By Vaishnavi Penumerthy

Hello all, In this article, you will learn about Carmichael numbers and write a Java program to check if a given number is a Carmichael number or not. Carmichael Number Checker in .... Read More

Pass array to functions in C++

By Sanam Sahoo

Hello, Coders! In this tutorial, we will learn how to pass an Array as an argument to a function in C++. In C++, an array can be passed to the functions just as the variables. We c.... Read More

How to take float input in Python

By ANJANEYULU DEVARASETTY

In this tutorial, we will see how to take a float input in Python. Actually, there is a difference between Python 2 and Python 3 regarding float() input. In Python 2, we use float(.... Read More

Nested Loops in JavaScript with Examples

By Afra

In this tutorial post, we will learn about nested loops in JavaScript.  Nested loops definition. uses or advantages of nested loops. control structure and algorithm to understand .... Read More

Change the size of an image using JavaScript

By CHAWADIMANI SANJANA VIJAY

In this article, I will tell you how to change the size of an image using JavaScript. If we want to change the size of an image, then we will use the function in JavaScript. first .... Read More

How to convert string to hexadecimal in C++

By Himanshu Sharma

In this tutorial, we will learn to convert string to hexadecimal in C++. For this purpose, we will use a manipulator named hex. Hex is an I/O manipulator that takes reference to a.... Read More

Increment (++) and Decrement (–) Operator in JavaScript

By Niwedita Kumari

JavaScript has two important operators, ie, increment and decrement operators. Increment and Decrement Operator in JavaScript increases and decreases the value of any variable by 1.... Read More

Check if user input is a string or number in Python

By ANJANEYULU DEVARASETTY

In this tutorial, we will learn how to check if user input is a string or number in Python. We have some tricks to check user input. Type 1:  type(num) to check input type in Pyth.... Read More

Related Posts