Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package uzduotys;
- public class PirmaUzduotis
- {
- public static int patikrintiSkaiciu(int x)
- {
- if (x >= 0)
- {
- if (x >= 100)
- {
- return 1;
- }
- else
- {
- return 0;
- }
- }
- else
- {
- return -1;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment