Question: coding in c program By referring flowchart to Figure Q4, produce a complete C program in Table Q4 to calculate a mathematical equation. Please consider
coding in c program

By referring flowchart to Figure Q4, produce a complete C program in Table Q4 to calculate a mathematical equation. Please consider answer = x+y as the mathematical equation. Submit your coding file as Q4.c in ULearn. [13 marks] Start float Compute (int list[]) Define x, y and num[2] as integer, jwpn as float Define x and y as integer, answer as float Input value x and y Transfer list[O) into x and list(1) into y Save value of x in num[0] and value of y in num[1] Do mathematical calculation Return answer answer = Compute(num) Display answer End
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
