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) to an<br>integer variable id_num<br>Using reminder operator % on the id_num get the last<br>5 digits (99123) and store it in num<br>If the num is between 0 and 30,000 (both included),<br>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.

Jun 04, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions ยป

Submit New Assignment

Copy and Paste Your Assignment Here