Junior 4 (true, %)

1. Write a program to print the result of the specified operations.
  • -2 + 5 * 6
  • ( 9 + 10 ) % 5
  • 10 + -4 * 3 / 6
  • 1 + 10 / 6 * 1 - 9 % 5
28
4
8
-2


2. Write a program to check two given numbers where one is less than 5 and other is greater 
than 10.

Input a first number: 75
Input a second number: 250
True


3. Write a C# program to check if a given positive number is a multiple of 3 and a multiple of 10.

Input first integer: 30
True


4. Write a program to check two given integers, and return true if one of them is 30 or if their sum is 30.

a = 10
b = 20
True


5. Write a program to print the odd numbers from 1 to 33. Prints one number per line. 

1
3
5
7
9
...
33