Advertisement
Guest User

Untitled

a guest
Oct 18th, 2017
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. Pointing in the right direction.
  2. Please do not use my variable names.
  3. You should get a rough idea from this.
  4.  
  5. int TotalSeconds = SecondsS + SecondsB + SecondsR;
  6. int CarriedMinutes = TotalSeconds / 60;
  7. int ResultSeconds = TotalSeconds % 60;
  8.  
  9. int TotalMinutes = MinutesS + MinutesB + MinutesR + CarriedMinutes;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement