#include <iostream>
using namespace std;
// Nama : Nagita Elsa
// Nim : 3420230026
int main() {
char kode ;
cout <<"==========================================="<< endl;
cout <<" Latihan switch case "<< endl;
cout <<"==========================================="<< endl;
cout <<" MASUKAN KODE BARANG (A/B/C) : ";cin >> kode;
cout <<"\n";
printf (" Kode yang di pilih \t: %c \n ", kode);
switch (kode) {
case 'A': case 'a':
cout <<" Alat Mandi ";
break;
case 'B': case 'b':
cout <<" alat makan ";
break;
case 'C': case 'c':
cout <<" alat bersih bersih ";
break;
default:
cout <<" KODE SALAH ";
}
cout <<"\n";
cout <<"===========================================";
cout <<"\n";
printf (" Nama \t\t : Nagita Elsa \n");
printf (" Email\t\t : nagitaelsa39@gmail.com");
return 0;
}