Posts

Showing posts from October, 2021

To calculate force of gravity on body of given mass

Conversion of temperature from celcius to farenheit

Find average using functions

Factorial using Recursion

Function don't affect the value of Argument

Sum of two numbers using user defined function

Greetings (Good morning, Good night etc) using funtions in C

use of functions

Increment logical operator and conditional statement

Nested ternary operator (link for syntax is also given)

to print square numbers upto n

To print prime numbers upto n

Leap year or not using ternery operator

Days of week using switch statement

Equiletral triangle using 1

Christmas tree

Guessing Game

whether the number is prime or not

Programm to find factorial

Programm to calculate the sum of values occuring in the table of 8 (1 to 10)

Sum of first 10 natural numbers using do-while and while loop

Sum of first 10 natural numbers

Multiplication table in reversed order

Multiplication of any number using loop

use of continue statement

Printing first 4 natural numbers using do-while loop

Print 10 to 20

Bitwise shifting (Refer given link for better understanding)

Grades of student using switch statement

to check whether the input character is lowercase

tax when conditions are imposed as per tax slab

pass if total>40 and greater than 33 in all three subjects

Switch case statement

To check whether the year is leap or not

Use of ternery operator