ASCII stands for American Standard Code for Information Interchange and it defines that each character in a programming language has a fixed ASCII value and it always a positive integer. The character includes every single element and it could be symbols too
Here in this program, the user will enter a number and our program will filter that number into years, weeks and days. For example, if the user enters 365 days the output should be 1 year 0 weeks 0 days Here we are not considering leap years.
Here we have provided two programs to raise any number x to a power n; in C++ and python. Here x would be the number whose power to be raised, n will be the number which represents the value of power. For example, if x is 2 and n is 4 the output should be… Read More »
This code checks whether the entered number is a palindrome or not. A palindrome number is a unique number which reverse is equal to it. For example, 11, 111, 121, 131… are palindrome numbers.
In this program, we will code to find the number is prime or not. A number is said to be a prime number if it has only 2 divisors 1 and the number itself.
Here we have provided two programs which calculate the simple interest when the user provides the principal, rate and time. To calculate the simple interest, we have used this formula:
In this program, we will code to display the Fibonacci series up to number n. A Fibonacci series is a sequence starts from 0 and the next number is the sum of the previous number and the current one. For example, 0,1, 1, 2, 3, 5, 8……. Is a Fibonacci series.