Professional Documents
Culture Documents
Alpajora, Jenny Rose I. - Al101 - Week7act
Alpajora, Jenny Rose I. - Al101 - Week7act
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