j

Monday, 2 November 2015

Write a program that take per hour rent of a hotel room and total number of hour of stay of custumer at hote and fine the total bill of customer



#include<iostream.h>
#include<conio.h>
void main()
{
clrscr();
int hour_rent,no_hour,bill;
cout<<"Enter per hour rent ::";
cin>>hour_rent;
cout<<"Enter total hour of stay of customer at hotal ::";
cin>>no_hour;
bill=no_hour*hour_rent;
cout<<"Bill of customer is "<<bill;
getch();
}

Subscribe to this Blog via Email :