C++ Fungsi Karakter True False

#include<iostream>
#include<conio>

char a;
void input(){
cout<<" Masukkan karakter : ";
cin>>a;
}
void pilih(){
if(a=='a'){
cout<<" True ";
}else{
cout<<" False ";
   }
}

main(){
input();
pilih();
getch();
}

0 Response to "C++ Fungsi Karakter True False"

Posting Komentar