Question: im a new learner, please help and elaborate this. code in c++ using DevC++ 1. solve without function. 2. add the function (with & without

Write code to solve the following equation: distance=(side1)2+(side2)2 Get the input from the user/keyboard. Calculate the distance in a programmer define function and return the value to the main function. Print the output in the main function
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
