Practice Problems For C language Basics

Practice Problems For C language Basics

Q.1) Write a program in 'C' to input the temperature in Fahrenheit and convert it into Celsius, and then also vice-versa.

Q.2) Write a program in 'C' to input two numbers then swap them without arithmetic operator and without 3rd variable.

Q.3) Write a program in 'C' to input a number and check whether it is even or odd using ternary operator. 

Q.4) Write a program in 'C' to input two numbers and find out the smallest one using ternary operator.

Q.5) Write a program in 'C' to input three numbers and find out the biggest one using ternary operator. 

YOU CAN FIND THE SOLUTION OF THESE PROBLEMS : HERE
Previous
Next Post »