Langsung aja...
CHECK THIS OUT...
Program Dev C++ :
#include <stdio.h>
#include <conio.h>
#include <iostream>
using namespace std;
main()
{
int day;
cout<<"\n\t\t Masukkan Angka yang Menunjukkan Hari : "; cin>>day;
cout<<"\t ================================================== "<<endl;
cout<<"\t\t Hari yang Anda Pilih : "; switch(day)
{
case 1 :
cout<<"Senin";
break;
case 2 :
cout<<"Selasa";
break;
case 3 :
cout<<"Rabu";
break;
case 4 :
cout<<"Kamis";
break;
case 5 :
cout<<"Jumat";
break;
case 6 :
cout<<"Sabtu";
break;
case 7 :
cout<<"Minggu";
break;
}
cout<<"\n\n\n\t\t ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~"<<endl;
cout<<"\t\t | GUSTIRANI 20170801069 |"<<endl;
cout<<"\t\t ~ ~~ ~ ~~ ~ ~~ ~ ~~ ~ ~~ ~ ~~ ~"<<endl;
getch();
}
Compile&Run
Semoga Bermanfaat...
See You the Next Upload 👀👀👀
https://riaagustinariyanti.blogspot.com/2019/03/cara-membuat-cinta.html?m=1
BalasHapus