I am trying to write a program that will convert a height of a person from feet and inches to centimeters. I want to use the relationship: 1 foot = 30.48 cm and 1 inch = 2.54 cm. I am trying to get the output in a form of a table where the left column would contain the height of the person in feet and inches from like 4'5" to 6'5" (with an increment of 1 inch), and the right column will contain the corresponding height in centimeters. The program will perform a conversion with the help of a function: void Conversion (int, int); The function has to be called from the for loop from the function main(). Since there is no return value, each portion of information will be printed inside the function.
Any help with this program would be much appreciated. I am new to the C programming language.