Question: Make sure you've read and understand all the instructions in this readme file Instruction to students: - Edit the main.cpp so that: - inside the

 Make sure you've read and understand all the instructions in this

Make sure you've read and understand all the instructions in this readme file Instruction to students: - Edit the main.cpp so that: - inside the main0, the program will accept two (2) integers: - input1, and - input2 - there are 3 functions that you need to create/write. Pass the input1 and/or input2 to the functions and for the results, use return: - sqro - 1 integer input variable e.g. x-return (xx) - add0 2 integers input variables e.g. j. k - return (j+k) - mul 0 - 2 integers input variables e.g. y,z return (yz) - Take note: - Any additional variables that you think are needed, needs to be declared inside the main0 - do not use global variables - There will be 3 tests for each functions above. If your code pass the 3 test, for all the 3 functions, you will get 9 marks (full marks) - Before you commit for grading, make sure you have editted/filled your details below and inside the main.cpp file Student's details

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!