I m doing program of passing of structures by value in call by value through functionss nd hving 3 errors of can any one do this | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I m doing program of passing of structures by value in call by value through functionss nd hving 3 errors of can any one do this

its of 11th class's program to calculate total lenght of two rods in feet and inches

20th Oct 2016, 3:26 PM
Mayank Narwal
1 Answer
+ 2
If sum is the sum of the two length in inches, you can use sum/12 to convert to feet, and sum%12 to get the remaining inches.
20th Oct 2016, 5:34 PM
Zen
Zen - avatar