C++

How to use logical OR operator,|| operator in C++

C++ logical or operator OR || operator explanation with examples. Learn how to use OR operator with different examples.

Read
C++

How to use logical not operator,! operator in C++

C++ logical not operator or ! operator explanation with examples. Learn how to use not operator with different examples.

Read
C++

C++ program to convert lowercase to uppercase

C++ program to convert lowercase character to uppercase. We will learn two different ways to do that. By using ASCII values and by using toupper() function.

Read
C++

C++ and or && operator explanation with example

C++ and or && operator explanation with example. We will learn the definition of and operator and how to use it with different examples.

Read
python

How to convert a dictionary to string in Python

How to convert a dictionary to string in python. We will learn how to use str() method and json.dumps() method to convert a dictionary to string.

Read
python

Python program to convert a dictionary to JSON

How to convert a dictionary to JSON in python. Learn what is a dictionary, how to convert dictionary to JSON, how to pretty print, sort keys, write dictionary to a JSON file.

Read
javascript

How to take one array as input from the user in JavaScript

JavaScript program to take one array as input from the user. We will write one HTML file that will take these inputs as separated by comma and in different input box.

Read
java

How to remove the last character of a string in Java

Java program to remove the last character of a string. We will learn two different ways to do that. By converting the string to a StringBuilder object and by using the prebuilt substring method.

Read
java

How to remove the first character of a string in Java

Java program to remove the first character of a string. We will learn two different ways to do that. By using the substring() method and by converting the string to a StringBuilder.

Read
java

Java program to print the Neon numbers from 0 to 10000

Java program to print all neon numbers from 0 to 10000. This program will show you what is a Neon number and how to check if a number is Neon or not.

Read