about java program: i neet to create method to name is "checkValidID", and it must Check if an ID is valid in "product.t

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

about java program: i neet to create method to name is "checkValidID", and it must Check if an ID is valid in "product.t

Post by answerhappygod »

about java program:
i neet to create method to name is "checkValidID", and it
must
Check if an ID is valid in "product.txt". The ID is valid if it
is a String of five digits
In case of invalid ID, the ID will be printed, and the user must
be prompted to enter a new value. The method must be terminated
only in case of a valid ID is entered.
The ID number is prompted from the user and then i should check
if it's valid in "products.txt" file.
The products.txt file is shown below:
About Java Program I Neet To Create Method To Name Is Checkvalidid And It Must Check If An Id Is Valid In Product T 1
About Java Program I Neet To Create Method To Name Is Checkvalidid And It Must Check If An Id Is Valid In Product T 1 (107.99 KiB) Viewed 48 times
ә Source History IC 7 1 12453 Peanut_Butter 18.9 10 2 17453 olive_oil 18 9 3 12443 butter 4 20 4 13455 biscuit 2 15 5 22348 Peanut 2 11 6 12483 apple 19 25 7 12453 orange 1.9 33 8 12853 salmon 14 13 9 16753 chocolate 15 14 10 18653 salt 13 15 11 12489 flour 7 16 12 22453 sugar 10 9 13 33453 grape 13.4 7 14 44453 banana 16.7 8 15 55453 beetroot 15.7 9 16 66453 fish 12 3 17 77453 egg 16 4 18 88453 pasta 17 6 19 19453) corn 12 2 20 12343/ water 19 1
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply