Exercise 8 · Chapter: Linear ProgramsOptional+50 XP
Pizza Slices
You have 3 pizzas with 8 slices each, and 5 people. Calculate how many slices each person gets and how many are left over.
Your output should be:
Each person gets 4 slices Leftover slices: 4
rust
fn main() {
}
Output
Run your code to see the output here.