#include <iostream>
using namespace std;
int main()
{
char angka;
cout << "=========mengkonversi Alfabet fonetik NATO=========" << endl;
cout<<"masukan Alfabett:";cin>>angka;
switch (angka)
{
case 'A':
cout<<"Alfa"<<endl;
break;
case 'B':
cout<<"Bravo"<<endl;
break;
case 'C':
cout<<"Charlie"<<endl;
break;
case 'D':
cout<<"Delta"<<endl;
break;
case 'E':
cout<<"Echo"<<endl;
break;
case 'F':
cout<<"Foxtrot"<<endl;
break;
case 'G':
cout<<"Golf"<<endl;
break;
case 'H':
cout<<"Hotel"<<endl;
break;
case 'I':
cout<<"India"<<endl;
break;
case 'J':
cout<<"Juliett"<<endl;
break;
case 'K':
cout<<"Kilo"<<endl;
break;
case 'L':
cout<<"Lima"<<endl;
break;
case 'M':
cout<<"Mike"<<endl;
break;
case 'N':
cout<<"November"<<endl;
break;
case 'O':
cout<<"Oscar"<<endl;
break;
case 'P':
cout<<"Papa"<<endl;
break;
case 'Q':
cout<<"Quebec"<<endl;
break;
case 'R':
cout<<"Romeo"<<endl;
break;
case 'S':
cout<<"Sierra"<<endl;
break;
case 'T':
cout<<"Tango"<<endl;
break;
case 'U':
cout<<"Uniform"<<endl;
break;
case 'V':
cout<<"Victor"<<endl;
break;
case 'W':
cout<<"Whiskey"<<endl;
break;
case 'X':
cout<<"Xray"<<endl;
break;
case 'Y':
cout<<"Yanke"<<endl;
break;
case 'Z':
cout<<"zulu"<<endl;
break;
case '1':
cout<<"one"<<endl;
break;
case '2':
cout<<"two"<<endl;
break;
case '3':
cout<<"three"<<endl;
break;
case '4':
cout<<"four"<<endl;
break;
case '5':
cout<<"five"<<endl;
break;
case '6':
cout<<"six"<<endl;
break;
case '7':
cout<<"seven"<<endl;
break;
case '8':
cout<<"eight"<<endl;
break;
case '9':
cout<<"NINE"<<endl;
break;
case '0':
cout<<"ZERO"<<endl;
break;
default:
cout<<"angka yang anda masukan tidak tersedia"<<endl;
}
return 0;
}
harga poto copian codingan c++
using namespace std;
int main()
{
char angka;
cout << "=========mengkonversi Alfabet fonetik NATO=========" << endl;
cout<<"masukan Alfabett:";cin>>angka;
switch (angka)
{
case 'A':
cout<<"Alfa"<<endl;
break;
case 'B':
cout<<"Bravo"<<endl;
break;
case 'C':
cout<<"Charlie"<<endl;
break;
case 'D':
cout<<"Delta"<<endl;
break;
case 'E':
cout<<"Echo"<<endl;
break;
case 'F':
cout<<"Foxtrot"<<endl;
break;
case 'G':
cout<<"Golf"<<endl;
break;
case 'H':
cout<<"Hotel"<<endl;
break;
case 'I':
cout<<"India"<<endl;
break;
case 'J':
cout<<"Juliett"<<endl;
break;
case 'K':
cout<<"Kilo"<<endl;
break;
case 'L':
cout<<"Lima"<<endl;
break;
case 'M':
cout<<"Mike"<<endl;
break;
case 'N':
cout<<"November"<<endl;
break;
case 'O':
cout<<"Oscar"<<endl;
break;
case 'P':
cout<<"Papa"<<endl;
break;
case 'Q':
cout<<"Quebec"<<endl;
break;
case 'R':
cout<<"Romeo"<<endl;
break;
case 'S':
cout<<"Sierra"<<endl;
break;
case 'T':
cout<<"Tango"<<endl;
break;
case 'U':
cout<<"Uniform"<<endl;
break;
case 'V':
cout<<"Victor"<<endl;
break;
case 'W':
cout<<"Whiskey"<<endl;
break;
case 'X':
cout<<"Xray"<<endl;
break;
case 'Y':
cout<<"Yanke"<<endl;
break;
case 'Z':
cout<<"zulu"<<endl;
break;
case '1':
cout<<"one"<<endl;
break;
case '2':
cout<<"two"<<endl;
break;
case '3':
cout<<"three"<<endl;
break;
case '4':
cout<<"four"<<endl;
break;
case '5':
cout<<"five"<<endl;
break;
case '6':
cout<<"six"<<endl;
break;
case '7':
cout<<"seven"<<endl;
break;
case '8':
cout<<"eight"<<endl;
break;
case '9':
cout<<"NINE"<<endl;
break;
case '0':
cout<<"ZERO"<<endl;
break;
default:
cout<<"angka yang anda masukan tidak tersedia"<<endl;
}
return 0;
}
harga poto copian codingan c++
0 Response to "mengkonversi alfabert fanotik nano mengunakan Bahasa C++ dengan KodeBlocks"
Post a Comment