#include "library.h" // boring centigrade to fahrenheit converter // being tested 5 times double convert_C_to_F(double temp_centi) { return temp_centi * 9 / 5 + 32; } void test_conversions(int num_tests) { if (num_tests > 0) { print("enter centigrade: "); double C = read_double(); double F = convert_C_to_F(C); print(" = "); print(F); print(" Degrees fahrenheit\n"); test_conversions(num_tests - 1); } } void main() { test_conversions(5); print("\ntest complete\n"); }