419,923 views
10 votes
10 votes
the program reads in variables totalminutes and miletime from input. assign nummiles with the maximum number of miles that a person can walk in totalminutes minutes, if each mile takes miletime minutes to walk. ex: if input is 13 4, the output is:

User John Siniger
by
2.6k points

1 Answer

11 votes
11 votes
either 3.25 or 3 depending on the language and type of these variables
User Elz
by
3.3k points