Machine Problem in C++
Make a program that will input type of network provider.
A - for Smart and Display "SMART USER".
B- for Globe Display "GLOBE USER" and C-for Sun Display "SUN USER".
Your program will be terminated when you input Z.
I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me at the following email address for further details. If you want to advertise on my website kindly contact me also in my email address also. Thank you.
My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.
My mobile number here in the Philippines is 09173084360.
Program Listing
/*
Author : Prof. Jake Rodriguez Pomperada, MAED-IT, MIT
www.jakerpomperada.blogspot.com and www.jakerpomperada.com
jakerpomperada@gmail.com
Bacolod City, Negros Occidental Philippines.
Machine Problem in C++
3. Make a program that will input type of network provider.
A - for Smart and Display "SMART USER".
B- for Globe Display "GLOBE USER" and C-for Sun Display "SUN USER".
Your program will be terminated when you input Z.
*/
#include <iostream>
#include <cctype>
int main()
{
char select_sim,ch;
do {
std::cout << "\n\n";
std::cout << "\tMobile Service Provider in C++\n";
std::cout <<"\n";
std::cout <<"\tA-for Smart\n";
std::cout <<"\tB-for Globe\n";
std::cout <<"\tC-for SUN";
std::cout <<"\n\n\t";
std:: cin >> select_sim;
ch = toupper(select_sim);
if (ch=='Z') {
break;
}
if (ch=='A') {
std::cout <<"\n";
std::cout <<"\tSMART USER";
} else if (ch=='B') {
std::cout <<"\n";
std::cout <<"\tGLOBE USER";
} else if (ch=='C') {
std::cout <<"\n";
std::cout <<"\tSUN USER";
}
} while (ch!='Z');
std::cout << "\n";
std::cout << "\tEnd of Program";
std::cout <<"\n";
}
it's really nice and meanful. it's really cool blog. Linking is very useful thing.you have really helped lots of people who visit blog and provide them usefull information. signal booster for virgin mobile
ReplyDelete