0

enter image description hereThe point is to get the users input but only by the string values like CA so I can print out california, but the problem is

if (name == "AL") when the program runs and I input "AL" the console does not print "The state is Alabama" but instead terminates the program. So how do I resolve converting this? Thanks

0 Answers0