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 5 digits (99123) and...


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

Extracted text: 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 5 digits (99123) and store it in num If the num is between 0 and 30,000 (both included), display "You are in Group 1" Otherwise if the num is between 30001 and 60,000 (both included), display "You are in Group 2" Otherwise (num is between 60,001 and 99,999 (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