mercredi 22 juin 2016

programm that can create a choice with scannerand if

Is it possible by using Scanner and the if- Instruction to make a choice between the typings.

Example if the input is p do that Hope you understand me thanks:)

System.out.println("Bitte geben sie die Widerstands-Schaltung ein : ");
  strR = input.nextLine(); 

Aucun commentaire:

Enregistrer un commentaire