Assalamu Alaikum. Hope, you all are well by the grace of Almighty. Today we learn centimeters-inches conversion by switch case in C programming. Let's look at the problem.
Problem: Write a program that converts centimeters to inches & inches to centimeters.
Solution:
We know that, 1 Centimeter = 0.3937 inche &
1 Inche = 2.54 Centimeters
Problem: Write a program that converts centimeters to inches & inches to centimeters.
Solution:
We know that, 1 Centimeter = 0.3937 inche &
1 Inche = 2.54 Centimeters
In this program we use 1 centimeter = .03937 inches. let's look at the program.
Thank you all.. :-)
0 comments:
Post a Comment