( string [] args ) { string hexvalue = "7f" ; int intvalue = 0 ; intvalue = hex2int ( hexvalue ); system . out . printf ( "value is: %d\n" , intvalue ); } } output value is: 127 explanation in the above program, we imported the " java.util.scanner " package to read...