+ 2

how to make a java program in accordance with the design

Detect majors and classes based on input regis number. Example: NIM-23112001 contains information: 231-majors, 12-force, 001-sequence number. If known 231-Informatics Engineering; 221-Civil Engineering; 212-Architectural Engineering, Legal Sciences, make Java programs according to design:

8th Mar 2019, 3:14 PM
Iren
Iren - avatar
1 Odpowiedź
0
If we assume the regis number always ends in an 8 digit sequence, we can use substring() to parse it out. Here is a code demonstrating that. Then, you can handle each section as needed. https://code.sololearn.com/cniZ84MF1A9s/?ref=app
8th Mar 2019, 3:55 PM
Austin