0% found this document useful (0 votes)
7 views8 pages

QBASIC Flowchart for Hotel Management

This document contains flowcharts for a computer project on hotel management using QBASIC. The flowcharts summarize the ordering, viewing, editing and payment processes. They include start and stop points and use shapes and arrows to depict the logic and flow between different steps like displaying menus, getting user input, storing and retrieving data from files.

Uploaded by

api-364271112
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views8 pages

QBASIC Flowchart for Hotel Management

This document contains flowcharts for a computer project on hotel management using QBASIC. The flowcharts summarize the ordering, viewing, editing and payment processes. They include start and stop points and use shapes and arrows to depict the logic and flow between different steps like displaying menus, getting user input, storing and retrieving data from files.

Uploaded by

api-364271112
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd

#18

Computer Project
On
QBASIC
(Flowchart)

By: Nischit P.N. Pradhan


Class: 10B
To: Prakash Pradhan
1. Flowchart for Home Page
Start

Call sub background

Welcome to the Pradhan Hotel

Call main

Stop

2. Flowchart for Continue


Start

Display background

Get order$

Out of range
Lower case order$
Else

Read order$ Y or N ?
Y

N
Thank you

Display Main Menu

Stop
3. Flowchart for Main Menu

Start

Display background

Menu

Make [Link]

Main menu Options

N Declare Variable &


get choice
In range?

Read choice
Y

View/Cancel
Drinks Snacks Meal Dessert Bill Order

Call look

Else
N
Input =y or n Want to cancel
order(y/n)?

Call edit Y
Stop
4. Flowchart for:
Drinks, Snacks, Meal, Dessert

Start

Display background
Menu options

Declare variable &


get choice
N

Food in
Read choice record?

Let Variable be the chosen


food item & price

The requested food item


has been ordered

Store the food item & price


in the file [Link]

Main Menu
5. Flowchart for look
Start

Display background
Close [Link]

Assign value to
Some variable

Food items purchased

Open [Link]

Read [Link] & assign


variables for its content
N

Display food items and price Are all food


stored in variable items read ?

Close [Link]

Stop
6. Flowchart for Edit Start

Display look

Make [Link]

Get variable to
cancel order

Read variable

Y
Read [Link] &
let a$= name of the
food items Is variable=a$ ?

Store the food item & price


in the file [Link]
N
Are all food
Y items read ?

Delete [Link]

Rename [Link]
as [Link]

Stop
Start
7. Flowchart for Bill
Display look

The Pradhan Hotel

Total

Final= total+(13*total)/100

Cost with
13%VAT, final
Amount
not enough
Get amount
N

Q=final-amount Is dec<= 0 ?
Dec=int(q*100+.5)/100
Y

Here is your
change, dec

Display continue

Stop
8. Flowchart for Background
Start

Declare variable
x = INT(RND * 640)
y = INT(RND * 480)
Paint Circle Construct Circle r = INT(RND * 100)

Construct & paint


Rectangle around the
screen

Stop

9. Flowchart for Total Start

Open [Link]
Close [Link] In input mode

Read content Store


price in variable b N

Declare variable a Are all food


a=a+b items read ?

Close [Link]

Stop

You might also like