• Sign Up
    Time to claim your honor
  • Training
  • Practice
    Complete challenging Kata to earn honor and ranks. Re-train to hone technique
  • Freestyle Sparring
    Take turns remixing and refactoring others code through Kumite
  • Community
  • Leaderboards
    Achieve honor and move up the global leaderboards
  • Chat
    Join our Discord server and chat with your fellow code warriors
  • Discussions
    View our Github Discussions board to discuss general Codewars topics
  • About
  • Docs
    Learn about all of the different aspects of Codewars
  • Blog
    Read the latest news from Codewars and the community
  • Log In
  • Sign Up
DankMemeMachine Avatar
Name:Unknown
Clan:Unknown
Member Since:Feb 2023
Last Seen:Feb 2023
Profiles:
    Following:0
    Followers:0
    Allies:0
    View Profile Badges
    • Stats
    • Kata
    • Collections
    • Kumite
    • Social
    • Discourse
    • Conversations (1)
    • Replies
    • Authored
    • Needs Resolution
    • Custom User Avatar
      • DankMemeMachine
      • commented on "Beginner Series #2 Clock" csharp solution
      • 2 years ago

      Order of operations can sometimes cause calculations to resolve in ways we did not mean for. Using parenthesis can nudge the program more in the direction you mean for it to calculate an answer instead of the ordinary precedence set by the language. This is a C# program, and you can read about C# precedence here: https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/operators/arithmetic-operators

    • © 2025 Codewars
    • About
    • API
    • Blog
    • Privacy
    • Terms
    • Code of Conduct
    • Contact

    Confirm

    • Cancel
    • Confirm

    Collect: undefined

    Loading collection data...