Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- intBool = (210 >= 7 * 30);
- // if ( condition is true )
- // {
- // Run this code
- // }
- // else
- // {
- // Run this code
- // }
- //
- // Brackets unnecessary if block consists of 1 statement
- // Always including them improves readability and prevents bugs.
- if (1)
- {
- printf("1 is true.\n\n");
- }
- if (0)
- {
- printf("0 is true.\n\n");
- }
- else
- {
- printf("0 is false.\n\n");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement