java

Java program to check if a number is a happy number or not

Java program to check if a number is a happy number or not. This program will take one number from the user and print one message if it is a happy number or not.

Read
java

Java program to check if two numbers are Amicable or not

Java program to check if two numbers are amicable or not. We will learn three different methods to check for amicable numbers in Java.

Read
java

Java program to check if a number is Automorphic or not

Java program to check if a number is automorphic or not. This program will take one number as input from the user and print one message that it is automorphic or not.

Read
java

How to remove the first element of an ArrayList in Java

How to remove the first element of an arraylist in Java. We will learn the definition of remove method and how to use it to remove the element at index 0.

Read
java

Java program to add characters to the middle of a string

Java program to add a character to the middle of a string. We will learn different ways in Java to add characters to the middle of strings.

Read
java

How to add a character to the start and end of a string in Java

Java program to add a character to the start and end of a string. We will learn different ways in Java to solve this problem.

Read
C++

How to find the sum of two numbers by using a class in C++

C++ program to find the sum of two numbers by using a class. We will create a calculator class that will find the sum of two user input numbers.

Read
C++

C++ Increment and decrement operators

C++ increment and decrement operators. This post will show you how to use prefix and postfix increment and decrement operators with examples.

Read
c

C fsetpos method explanation with example

C fset method explanation with example. fset method can be used to set the file position indicator for a given file stream based on a given value.

Read
C++

3 different C++ program to convert integer to string

How to convert an integer value to string in C++. We will learn 3 different ways to convert an integer to string in C++ in this post.

Read