Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Ex5 {
- public static void main(String[] args) {
- int a = 1734;
- int b;
- b = a / 100;
- System.out.println(b);
- boolean c;
- c = b % 10 == 7;
- System.out.println(c);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement