Tag: operator


Walrus operator in Python

Walrus operator (:=) is used as an assignment operator. It assigns value to a variable and also returns the value. It …

C program to find sum of two numbers

Write a C program to enter two numbers and find their sum by using the scanf function.

C program to perform all arithmetic operations

Write a C program to enter two numbers and perform all arithmetic operations like addition, subtraction etc to understand how …

C program to find perimeter of a rectangle

Write a C program to enter the length and breadth of a rectangle and find its perimeter using operators and …

C program to find area of a rectangle

Write a C program to enter the length and breadth of a rectangle and find its area using operators and …

C Program to find diameter, circumference and area of a circle

Write a C program to enter the radius of a rectangle and find the diameter, circumference and area of a …

C program to convert celsius to fahrenheit

Write a C program to convert celsius to fahrenheit. C program to enter the temperature in celcius and convert it …

C program to convert fahrenheit to celsius

Write a C program to convert fahrenheit to celsius. C program to enter the temperature in fahrenheit and convert it …

C program to find power of a number

C program to find the power of a number. Write a C program to enter the base and exponents and …

C program to find square root of a number

C program to find the square root of a number. Write a C program to enter the number and calculate …