pcmagic
Member
To be honest here im not too great with programming on Visual Basic, Im asking please if somebody could help me out? I would appreciate it to a great extent!
Thanks very much,
******************
My Task......
The hotel wants to have a program to calculate the bills for guests checking out each day.
The program will ask how many guests are checking out that day (in range 1 to 10 inclusive) and then for each of those guests, aks their name. The number of nights they stayed and the room type (either *S* for a single or *T* for a double). You may asume that all numbers entered are whole numbers.
The program will calculate the amount for each guest. The total is calculated by muitplying the number of nights by the room rate. The room rate depends on the room type £60 = single, £90 = Twin, £80 = Double
The Program should display the guest’s Bill.
The Process is repeated for each guest.
The output from the program should look like this.

Pseudocode
1 Get valid number of guests checking out (in range 1 to 10 inclusive)
2 For each guest
3 Get guest name
4 get number of nights
5 get valid room type (S, T or D)
6 Calculate amount due
7 Display guest details
8 END LOOP
7 Display guest detalis
7.1 Display guest name
7.2 Display number of nights
7.3 Display room type
7.4 Display Amount due
Thanks very much,
******************
My Task......
The hotel wants to have a program to calculate the bills for guests checking out each day.
The program will ask how many guests are checking out that day (in range 1 to 10 inclusive) and then for each of those guests, aks their name. The number of nights they stayed and the room type (either *S* for a single or *T* for a double). You may asume that all numbers entered are whole numbers.
The program will calculate the amount for each guest. The total is calculated by muitplying the number of nights by the room rate. The room rate depends on the room type £60 = single, £90 = Twin, £80 = Double
The Program should display the guest’s Bill.
The Process is repeated for each guest.
The output from the program should look like this.

Pseudocode
1 Get valid number of guests checking out (in range 1 to 10 inclusive)
2 For each guest
3 Get guest name
4 get number of nights
5 get valid room type (S, T or D)
6 Calculate amount due
7 Display guest details
8 END LOOP
7 Display guest detalis
7.1 Display guest name
7.2 Display number of nights
7.3 Display room type
7.4 Display Amount due