5 XP challenge
Seats in Equal Rows
very easy
Build it yourself · 3 min
1 Learn2 Predict3 Solve
TaskYour mission
Return rows multiplied by seatsPerRow. Both inputs are integers from 0 to 20.
Examples
| Input | Return |
|---|---|
rows = 4, seatsPerRow = 3 | 12 |
rows = 0, seatsPerRow = 8 | 0 |
Your code
Write your answer inside Solution, then use return to send it back.
Ln 1, Col 1
JavaScript
Try examples runs the public examples. Check my code checks your full answer and saves your completion.