Knowledge in c language

Program to explain switch case which has case blocks without statements.

Here switch case is used to test the value of a variable and compares it with multiple cases. If one case is found matched then the statement of that particular case is executed . Switch contain many cases inside the block . Likr case2,case2,case3,case4,....multiple cases .for every case break statement is used to exit the loop.

Program to explain sum of even numbers beloow range n.

Here is a program to explain sum of even numbers in a given range n . This program is written using do while. Initially consider a number num, and sum=0 . While (num

Program to explain soul of odd numbers in a given range.

Here in odd case num should be initialized with 1 ,num=1. And sum=0. This is also written using do while .

Program to find whether the given number is palindrome or not.

Palindrome is the number which is same when it is ready from reverse and straight order.

Program to find palindrome numbers below range n and print them using nested do while.

Here in this program certain range n is given and the conditions of palindrome are to be checked.

Program to find sum of n natural numbers using while

This is nothing but the sum of n natural numbers using while loop it means I a given range finding the sum.

Prpgram to find factorial value of a given number using do while.

Factorial is the product of all the digits from 1 to given range.

Program to find reverse of a given number and print the number in reverse order.

It is nothing but to pront the given numbers in a reverse order. For example : 1 2 3 then it will print 3 2 1.

Program to explain using for print natural numbers from 1 to 10 using for.

This programs explains the printing of natural numbers in a given range .

Program to print natural numbers 1-10 in reverse order.

This program explains the printing of natural numbers in reverse order.

Prpgram to explain unconditional statement break.

This program explains unconditional statement break.