CSCI 261 - Programming ConceptsSpring 2019 - Lab 4B - Polar to Cartesian ConverterQuick Links: Canvas | Mines | Piazza | zyBooks |
|
| Home | Contact | Syllabus | Assignments | Schedule | Resources | | |
This lab is due by Thursday, February 21, 2019, 11:59 PM. InstructionsCreate a new project and call it Lab4B. One of the limitations of functions is that they can only return a single value. A workaround to this limitation is to pass parameters by reference. When the function completes, the arguments corresponding to these parameters will contain the modified values. A generic function prototype would match the following template: void functionName( const dataType inParam1, const dataType inParam2, // input to the function dataType& outParam1, dataType& outParam2 ); // output from the function
We will create two functions called
Your program should first prompt the user which direction they wish to convert, either Your functions must match the following specifications:
Lab SubmissionYou will submit your solution to this lab with the rest of Set4. Detailed instructions for doing this are posted in Assignment 4. This lab is due by Thursday, February 21, 2019, 11:59 PM. | |
Last Updated: 09/21/18 19:00
|