WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Conversation

@BakhtiyorBahriddini
Copy link

No description provided.

@aafemt
Copy link
Contributor

aafemt commented Jul 29, 2024

Skipping whole print is not a good idea. I would suggest to use

if (seconds == 0)
  seconds = 1;

in the beginning of this routine instead.

@mrotteveel mrotteveel changed the title Checking devision by zero Checking division by zero Jun 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants