QUESTION 2 Write a Java program to do the following task: Assign your id number (example. 2014299123) to an integer variable id_num Using reminder operator % on the id_num get the last 2 digits (23)...


QUESTION 2<br>Write a Java program to do the following task:<br>Assign your id number (example. 2014299123) to an integer variable id_num<br>Using reminder operator % on the id_num get the last 2 digits (23) and store it in num<br>If the num is between 0 and 30 (both included), display

Extracted text: QUESTION 2 Write a Java program to do the following task: Assign your id number (example. 2014299123) to an integer variable id_num Using reminder operator % on the id_num get the last 2 digits (23) and store it in num If the num is between 0 and 30 (both included), display "You are in Group 1" Otherwise if the num is between 31 and 60 (both included), display "You are in Group 2" Otherwise (num is between 61 and 99 (both included), display "You are in Group 3" Save your file as Q2.Java and upload it. Attach File Browse My Computer

Jun 09, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here