Floyd’s Triangle-It is right angled triangle made by using natural numbers.It starts from 1 and goes on increasing consecutively in sequence. In this C program we have to print Floyd’s triangle by taking length of rows as input from the user. Example- INPUT Input rows-5 OUTPUT 1 2 3 4 5 6 7 8 9 […]
In this C program we have to print sum of first and last digit of the inputted number by the user. Example- INPUT Input number – 1234 OUTPUT Output – 5 Table of contents:- Concept Algorithm Program Output Resource Before writing this C program, lets learn about the concept we are gonna use in our […]
In this C program, we will reverse a five-digit number inputted by the user and check whether the original and reversed numbers are equal or not. We will first take input value by the user and reverse the inputted number. Then we will determine whether the original and reversed number is equal or not. Table […]
In this c program, we will convert temperature input by the user in celsius to Fahrenheit. We will also write the algorithm of the c program to convert temperature from Celsius to Fahrenheit. We will first find out the basic mathematics formulas and solutions to the problem. After finding out the formula and solution to our problem, we will write […]
In this c program, we will convert distance input by the user in meters, feet, inches, and centimeters. We will also write the algorithm of c program to convert distance in meters, feet, inches, and centimeters. We will firstly breakdown the problem and write an algorithm, then after that, we will write the c program […]
In this tutorial, we are writing a c program to take input and add two matrix and display the result as output.
In this tutorial, we are going to learn about Arithmetic Operators and their types in Python with examples.
In this tutorial, we are going to learn about Operators and Its types in Python with their examples.
In this tutorial, we are going to learn what are Keywords in the python programming language.
In this article, we will learn about Literal in Python, it’s type with examples and program.