## Find Nth term of the series 1, 8, 54, 384…

Given a number N. The task is to write a program to find the Nth term in the below series: 1, 8, 54, 384… Examples:… Read More »

- How to learn Pattern printing easily?
- Difference between while and do-while loop in C, C++, Java
- Menu-Driven Program for Bank Management System
- Difference between High Level and Low level languages
- Sum of all perfect numbers present in an array
- Program to duplicate Vowels in String
- Sum of all palindrome numbers present in an Array
- Program to parse the Molecules and get the Atoms count
- Sum of all mersenne numbers present in an array
- Difference between for and while loop in C, C++, Java
- Program to find the Encrypted word
- Find number of candidates in the Exam
- Difference between for and do-while loop in C, C++, Java
- Check if the first and last digit of number N is prime and their sum is less than K
- Program to Encrypt a String using ! and @
- Minimum value to be assigned to the elements so that sum becomes greater than initial sum
- Print the season name of the year based on the month number
- What is an Expression and What are the types of Expressions?
- Program to print the Ladder Pattern
- Program to print the Diagonals of a Matrix

Given a number N. The task is to write a program to find the Nth term in the below series: 1, 8, 54, 384… Examples:… Read More »

Given the no. of working hours of N people individually to complete a certain piece of work. The task is to find the number of… Read More »

Given an array arr[] of positive integers and a sum, the task is to print the elements that will be included to get the given… Read More »

Given a number N. The task is to write a program to find the Nth term in the below series: 3, 14, 39, 84… Examples:… Read More »

Given two numbers a and b, where ‘b’ is incremented or decremented by some percentage of ‘a’. The task is to find out that percentage.… Read More »

Given a number N. The task is to write a program to find the Nth term in the below series: 1, 4, 15, 72, 420…… Read More »

Given a number N, the task is to find the next perfect square greater than N. Examples: Input: N = 6 Output: 9 9 is… Read More »

Given two numbers A and B. The task is to write a program to find the addition of these two numbers. Examples: Input: A =… Read More »

Given an array of N elements. The task is to check if the array is bitonic or not. An array is said to be bitonic… Read More »

One’s Complement of an Integer 1’s and 2’s complement of a Binary Number In this post, a general method of finding complement with any arbitrary… Read More »

Given a number N. The task is to write a program to find the N-th term in the below series: 0, 2, 1, 3, 1,… Read More »

Given two positive integers M and N, the task is to find the greatest common divisor (GCD) using Middle School Procedure. Note: GCD of two… Read More »

Binary is a base-2 number system that uses two states 0 and 1 to represent a number. We can also call it to be a… Read More »

Given a full name in the form of a string, the task is to print the initials of a name, in short, and surname in… Read More »

Following points explain what is “static” in the main() method: main() method: The main() method, in Java, is the entry point for the JVM(Java Virtual… Read More »