hi! im also a beginner in using C im confused because ive got a problem. which the answer of C is different from mine here's my problem:
!our teacher ask us to covert yards to meters, inches, feet. (my problem is the meter)
feet = yard * 3
inches = yard * feet * 12
meter = yard * feet * inches * 2.54 / 100
lets say: 1 yard = 3 feet
1 yard = 36 inches
1 yard = 0.9144 meters <----------- (which is true!)
i don't understand C because the answer is 274.32 , derived form (1*3*12*2.54) /*in C*/
but in calculator the answer is 91.44 <----------- (which is true!)
please help me!