import java.util.Scanner;
public class Application {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
System.out.println("Introduceti comanda start sau stop si apoi apasati enter: ");
String text = input.nextLine();
switch (text) {
case "start":
System.out.println("Masina a pornit!");
break;
case "stop":
System.out.println("Masina s-a oprit !");
break;
default:
System.out.println("Comanda nerecunoscuta !");
}
}
}
Output is:
Programul va solicita sa introduceti comanda "start" sau "stop". In cazul in care introduceti altceva programul afiseaza mesajul "Comanda nerecunoscuta !"
ihrfuehrerschein.com
„우리는 스승님께 보고하고 이 흑양을 성문 밖으로 몰아내야 합니다.”
http://canadaph24.pro/# best canadian online pharmacy
canadian pharmacy com Large Selection of Medications from Canada northwest canadian pharmacy
https://canadaph24.pro/# best rated canadian pharmacy
cheap famciclovir 250mg – order famvir 250mg pill generic valcivir 1000mg
Kunjungi blog kami villaserenelli
Kunjungi blog kami friendlyyorkiepups
Kunjungi blog kami stantap
Kunjungi blog kami chinaclip
Kunjungi blog kami manialookstore
Kunjungi blog kami sunlitebulb
Kunjungi blog kami cybermart-usa
Kunjungi blog kami bayernco
mexico drug stores pharmacies mexico pharmacy buying from online mexican pharmacy
Kunjungi blog kami qasusa
Kunjungi blog kami shop-sun
https://canadaph24.pro/# my canadian pharmacy review
Kunjungi blog kami halstedgallery
Kunjungi blog kami bahari77
Kunjungi blog kami bahari77
http://indiaph24.store/# india online pharmacy
Kunjungi blog kami sharegif
http://indiaph24.store/# top online pharmacy india
Kunjungi blog kami gzyser
Kunjungi blog kami adwordsppc
ordering drugs from canada Licensed Canadian Pharmacy safe reliable canadian pharmacy
https://mexicoph24.life/# mexican pharmacy