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 […]
C Program to print sum of first and last digit of number.
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 […]
Read More “C Program to print sum of first and last digit of number.”
C Program to reverse number and compare(with Algorithm)
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 […]
Read More “C Program to reverse number and compare(with Algorithm)”
C Program to Convert Temperature Celsius to Fahrenheit
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 […]
Read More “C Program to Convert Temperature Celsius to Fahrenheit”
C Program to convert distance in meters, feet, inches, and centimeters
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 […]
Read More “C Program to convert distance in meters, feet, inches, and centimeters”
Write a program in C to input and add two matrix
In this tutorial, we are writing a c program to take input and add two matrix and display the result as output.
Arithmetic Operators in Python – Types (Unary and Binary) and Examples
In this tutorial, we are going to learn about Arithmetic Operators and their types in Python with examples.
What are Operators – Python
In this tutorial, we are going to learn about Operators and Its types in Python with their examples.
What are Keywords – Python
In this tutorial, we are going to learn what are Keywords in the python programming language.
What is Literal – Python
In this article, we will learn about Literal in Python, it’s type with examples and program.