#include<iostream.h>
#include<conio.h>
void input();
void output();
void main () {
int pil;
do {
clrscr(); cout<<" Menu ";
cout <<endl<<"1. Input Data";
cout <<endl<<"2. Output Data";
cout <<endl<<"3. Pilihan : ";
cin>>pil;
switch (pil){
case 0 : input(); break;
case 1 : output(); break;
}
}while (pil !=3);
}
void input(){
cout<<"Bagin input ! "; getch();
}
void output(){
cout<<"Bagin Output ! "; getch();
}
Tidak ada komentar:
Posting Komentar