Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

structure that describe a hotel with name, address,rooms
and number of rooms

Answer Posted / sumithra.a

struct hotel
{
Name,
Address,
Rooms,
RoomCount
};

Is This Answer Correct ?    4 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Out of fgets() and gets() which function is safe to use and why?

1174


what do you mean by volatile variable?

1037


Why do we use string in c++?

925


Is it possible for a member function to delete the pointer, named this?

1137


When are exception objects created?

1061


What is the use of turbo c++?

1041


What is the word you will use when defining a function in base class to allow this function to be a polimorphic function?

1157


What is operator overloading in c++ example?

1113


When does the c++ compiler create temporary variables?

1028


Are strings immutable in c++?

1139


Why c++ is the best language?

1052


What is the real purpose of class – to export data?

1095


What is the difference between global variables and static varables?

1118


How do we balance an AVL Tree in C++?

1120


Write a program which is required to process the time of a clock in hours and minutes, entered from the keyboard. With this program, there are two requirements for any data entered by a user: 1. The data must be of the correct type (in this case, two ints). 2. The data must be in the correct range: this means that, for the minutes, negative numbers and any number above 59 must be rejected; for the hours, negative numbers and any number above 23 must be rejected. Output error message for invalid data input. Output the time one and a half hour after the time input. i.e. Hour: 22 Min: 32 One and a half hour after 22:32 is 00:02

1941