2

222
Last edited on
Beware of integer division. The fist one might calculate wrong values.

What do you mean by 'put together'? The first one ask the user. The second does not. Do you want to add the input to the second program?
Yes
Topic archived. No new replies allowed.