You are on page 1of 5

Start

Declare username and password back counter equals to zero

Input username and password

if username is equal to "wizard" and password is equal to "123"

if false process counter is equal to counter plus 1

if counter is less than three back to username and password

if the counter is greater than three

System blocked

If input is equals to A

Display basic

Input choice

If choice is equals to A

Declare Fn, Sn, tn and sum

Input Fn, Sn and tn

Sum is equals to fn plus sn plus tn

Input sum

Input back

If back is equals to yes

Display end

If choice is equals to B

Declare Pg, Mg, Fg, and ave

Input Pg, Mg and Fg

Ave is equals to Pg plus Mg plus Fg devided by 3

Input ave

Input back
If back is equals to yes

Display end

If choice is equals to C

Declare Fn, Sn

Input Fn, Sn

If Fnis greater than Sn display Fn

If Fn is less than Sn display Sn

Else they are equal

Input back

If back is equals to yes

Display end

If choice is not equal to a, b and c

Display "Invalid input"

Input back

If back is equals to yes

Display end

If back is not equal to yes back to Menu

If input is equals to B

Display intermediate

Declare choice a, b and c

If choice is equals to to A

Input a, b, and c

Process c is equals to a and a is equals to b and b is equals to c

Input a and b
Input back

If back is equals to yes

Display end

If choice is equals to B

Input f, s, ds, pro and dif

Input f and s

Pro is equals to f times s

Display Pro

Input discount

dif is equals to Pro minus ds

Display dif

Input back

If back is equals to yes

Display end

If choice is equals to C

Declare age

Input age

If age is greater than 18

If true diplay Legal age

If false display Under age

Input back

If back is equals to Yes

Display end

If choice is not equal to A, B, and C

Display Invalid input


Input back

If back is equals to Yes

Display end

If input is equals to C

Declare choice

Input Advance a, b and C

If choice is equals to A

Declare F, S, Pro, n [50], hi and dif

Input n, f and s

Pro os equals to s times 100

Display pro

Input hi

dif is equals to pro plus hi

Input n

If f is equals to 1

If the statement id true display Freshmen

If the statement is false display Senior high

Dispay dif

Input back

If back is equals to yes

Display end

If choice is equals to B

Declare college

Input college

If college is equals to COB


Else if college is equals to CCS

If college is equals to COA

Input back

If college is not equal to COB, CCS and COA

Display No data

If back is equals to yes

Display end

If input is equals to D

Display Caringal Jilmer, Ceremonia diane, Olmeda renz and Ramirez jayson

Input back

If back is equals to Yes

Display end

You might also like