// file: $(ECE_1111)/labs/01/l01_02/myfuncts_01.cc // // revision history: // 20180724 (JP): initial version // // local include files // #include "myprog.h" // function: set_value_float // // arguments: // float value: the input value // // return: the value of the input // // This function simply returns the value of the argument. // float set_value_float(float value_a) { printf("Hello\n"); return value_a; } // function: compute_sum // // arguments: // long value1: the first operand // float value2: the second operand // // return: the sum of the inputs // // This function simply returns the sum of the arguments. // float compute_sum(long value1_a, float value2_a) { return value1_a + value2_a; }