Assignment Overview
You will be debugging the following methods:
- rounded_division(fix optional)
- sum_of_elementwise_maxesand helpers (fix required)
- productand- sum(fix required)
- add_constant(fix required)
- set_to_zero_if_max_feland helpers (fix required)
- square_primesand helpers (fix required)
Running the Programs
To run each part of the assignment:
- cargo run --bin debug_exercise_1
- cargo run --bin debug_exercise_2
- cargo test arithmetic
- cargo test int_list
Submitting Your Code
Before submitting your code, make sure to:
- Run cargo clippyand fix any warnings that appear.
- Run cargo fmtto format your code according to the Rust style guidelines.
- Commit and push your code to your repository.
Then, submit your code to the Gradescope assignment.