Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

QUEZON CITY UNIVERSITY

COLLEGE OF COMPUTER SCIENCE AND INFORMATION TECHNOLOGY

AL101 – ALGORITHMS AND COMPLEXITY


ACTIVITY # Week # 8

NAME: ALPAJORA. JENNY ROSE I


SCORE PERCENTAGE
STUDENT NO: 20-1248
YEAR/SECTION: SBIT-3L
DATE: 03/10/23

INSTRUCTIONS: Create a program that will determine if the user guesses the correct number generated
randomly by the system or not. You also need to draw a system Flowchart and the Pseudocode of this
program.

PROGRAM’S FLOWCHART
PSEUDOCODE
Start
Generate a random lucky number
between 3 to 12
Print "From the number 3 to 12, Guess the
lucky number for today"
Read user's input random lucky number
If the user's input the right lucky random
number:
Print "Hooray! you've guessed the right
lucky number!"
Else:
Print "Sorry! you've entered the wrong lucky
number, Please try again."
End program
QUEZON CITY UNIVERSITY
COLLEGE OF COMPUTER SCIENCE AND INFORMATION TECHNOLOGY

SOURCE CODE

OUTPUT

You might also like