CS174: Module 7: C++ Addresses And Pointers: Exercise 2 (1.5 Points)
C++ frontend developed by, Professor Tralie, adopted from code by Todd Fleming. Canvas Autograder Developed by Professor Tralie and Professor Mongan.
Exercise Goals
The goals of this exercise are:- Work with pointers in C++
- Return values by reference from methods in C++
Student Code
Main Area
Compiler Feedback
Program Output
Click compile
to compile your code. If it succeeds with no syntax errors, then click run
to run your code. If it passes the tests, it will automatically submit to Canvas and send you an e-mail. You must be connected to the VPN for submission to be successful! You will receive a copy of your code via e-mail, so you'll know that it was submitted if you receive that e-mail!
Please Enter your Ursinus netid before clicking run. This is not your ID number or your email. For example, my netid is ctralie
(non Ursinus students can simply enter their name to get this to run, but they won't get an e-mail record or any form of credit)
Netid | |