the program should run from MSDOS 95,98,melenuim I use Jdk 1.3.1 _02 javac nameoforogram .java java nameoforogram 1)make the following changes to the VIN program see attachment Add a loop so that after displaying information about the vin entered by the user the program will ask the user for another [login to view URL] process will repeat indefinetely until the user enters an empty string for the VIN you can test this condition by writing either [login to view URL]("")or [login to view URL]()==0.) have the program display the country of manufacture (jaban,unitedstate,canada,or mexico)if the country code is j , 1 , 2 or 3 *******************************************************************************2)make the following changes to the CheckISBN program if the user's input is not 13 character long or does not containexactly three dashes,have the program prompt the user to re-enter the input. the program will repeat the prompt as often as necessary until the input meets these criteria. *use aloopto calculate the value of the total variables. *instead of printing the original check digit and the computed check digit,have the program display either ISBN is valid( if check digit match) or ISBN is not valid (if they don't.)
## Deliverables
1)make the following changes to the VIN program see attachment Add a loop so that after displaying information about the vin entered by the user the program will ask the user for another [login to view URL] process will repeat indefinetely until the user enters an empty string for the VIN you can test this condition by writing either [login to view URL]("")or [login to view URL]()==0.) have the program display the country of manufacture (jaban,unitedstate,canada,or mexico)if the country code is j , 1 , 2 or 3 import jpb.*; puplic class vin{ puplic static void main (string [] args){ [login to view URL]("Enter VIN: "); string vin = [login to view URL](); string manufacturer = [login to view URL](0 ,3); string description = [login to view URL](3 ,8); string CheckDigit = [login to view URL](8 ,9); string Identification = [login to view URL](9); [login to view URL]("world manufacurer identifier: "+manufacturer); [login to view URL]("vehicle description section: "+description); [login to view URL]("CheckDigit: "+CheckDigi); [login to view URL]("vehicle Identification section: "+Identification);********************************************************************************************** 2)make the following changes to the CheckISBN program if the user's input is not 13 character long or does not containexactly three dashes,have the program prompt the user to re-enter the input. the program will repeat the prompt as often as necessary until the input meets these criteria. *use aloopto calculate the value of the total variables. *instead of printing the original check digit and the computed check digit,have the program display either ISBN is valid( if check digit match) or ISBN is not valid (if they don't.) import jpb.*; puplic class CheckISBN{ puplic static void main (string [] args){ [login to view URL]("Enter ISBN: "); String originalISBN = [login to view URL](); int dashpos1=[login to view URL](" -"); int dashpos2=[login to view URL](" -" , dashpos1 + 1); string reducedISBN = [login to view URL](0 , dashpos1)+ [login to view URL](dashpos1+ 1,dashpos2)+ [login to view URL](dashpos2+ 1,11); int total = 10 * [login to view URL] ([login to view URL](0 , 1))+ 9 * [login to view URL] ([login to view URL](1 , 2))+ 8 * [login to view URL] ([login to view URL](2, 3))+ 7 * [login to view URL] ([login to view URL](3 , 4))+ 6 * [login to view URL] ([login to view URL](4 , 5))+ 5 * [login to view URL] ([login to view URL](5 , 6))+ 4 * [login to view URL] ([login to view URL](6 , 7))+ 3 * [login to view URL] ([login to view URL](7 , 8))+ 2 * [login to view URL] ([login to view URL](8 , 9))+ int checkDigit = 10 - (( total -1) % 11 ); [login to view URL] ("check digit entered: + Original [login to view URL](12)); final String DIGITS = " 0123456789x"; [login to view URL](check digit computed: " + [login to view URL](checkDigit));
## Platform
the program should run from MSDOS 95,98,melenuim I use Jdk 1.3.1 _02 javac nameoforogram .java java nameoforogram
## Deadline information
must be done by 2/14/02