hi guys
need help
I resently just started c++ and on classes and have a project to print a tag to be attached on a luggage and deppending on wether the costomer want it delivered at home or pick it up at the airport.
Plz find attachment
hi guys
need help
I resently just started c++ and on classes and have a project to print a tag to be attached on a luggage and deppending on wether the costomer want it delivered at home or pick it up at the airport.
Plz find attachment
Jump to PostI don't see the point.
hi guys
need help
I resently just started c++ and on classes and have a project to print a tag to be attached on a luggage and deppending on wether the costomer want it delivered at home or pick it up at the airport.
Plz find attachment
I don't see the attachment.
I don't see the point.
Hi
Sorry man in what ever i did and this time i made sure that there is an attachment.I also have a muslem name(moen) but I not muslim.
What i can say is "take it easy and don't be too serius obout life cos no one gets out alife"
God bless u nd take care
KHAE a.k.a codec
please find attachment
#include<iostream>
using std::cout;
using std::cin;
using std::endl;
//include<string>
class ADT
{
public:
ADT();
void getPassengerInfo();
void displayMessage();
private:
// string ADTname;
};
//*********************************************
/*
#include<iostream>
using std::cout;
using std::cin;
using std::endl;
#include "Tag.h"
*/
void ADT::displayMessage()
{
cout<<"WELCOME TO POLKWANE INTERNATIONA AIRPORT"<<endl;
cout<<"****************************************\n";
cout<<endl<<endl;
}
void ADT::getPassengerInfo();
{
char answer;
char respond;
int password=4586;
int town;
int street;
int code;
char x;
cout<<"FOR YOU LUGGAGE PLEASE ENTER PASSWORD OR " x " TO QUIT:"<<endl;
cin>>password;
if(password=4586)
{
cout<<"Passanger :Matome Matlou\n"
<<"Flight# :ADC987\n"
<<"Destination :JHB-Tambo Intanational Airport\n"
<<"Mass of luggage:20 kg"
<<endl;
cout<<endl;
cout<<"IS THE ABOVE INFOMATION TRUE? (Y/N)";
cin>>answer;
if(answer= Y)
{
cout<<"We provide free delivery up to 200 km from Airport\n";
cout<<"__________________________________________________\n";
cout<<endl;
cout<<"Would you like your laggage delivered?(Y/N):";
cin>>respond;
if(respond=y || Y)
{
cout<<"Enter details of your final destination\n";
cin>>street>>town>>code;
cout<<street<<endl;
cout<<town<<end;
cout<<code<<endl;
cout<<endl<<endl;
cout<<"Thank you!\n";
cout<<"Your luggage will be delivered in 5 hours of arrivals.";
}
else
{
cout<<"***PICK UP AT THE AIRPORT***";
}
}
else
{
cout<<"Please notify the check in stuff";
}
}
else
{
cout<<"\a\a\a\a\a\a\a\a\a\a\a\a\a\a\a\a\a\a\a\a\a"<<endl;
cout<<"Notify the check in stuff obout password\n"
<<"for airport security check if the luggage\n"
<<"does belong to you and mind you that Airport\n"
<<"security will be with you any minute..."<<endl;
}
}
// };
//***************************************************************************
//#include "Tag.h"
int main()
{
ADT myADT("OUR BUSINESS IS TO DO YOURS");
myADT.displayMessage();
myADT.getPassengerInfo();
return 0;
}
No idea what is talking here.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.