Professional Documents
Culture Documents
Celeb Format
Celeb Format
YEAR: ND1
SOLUTION
1. Step 1: create file A and B
Step 3: check students com 113 result score
Step 4: if student score is equal or above 50 input student name in file A
Step 5: if else input student name in file B
Step 6: print result
Step 7: end
Start
Create file A , B
Check student’s
com 113 score
YES
Input student
name in file A
Print A, B
Stop
2
Step 1: enter student data
Step 2: read values in com 111, com 112 and com 113
Step 3: calculate the average of the values
Step 4: if average is ≥ 50, add pass tag on student name
Step 5: if else add fail tag on student name
Step : print student result (R)
Step 7: end
Start
Read values in com 111, com 112 and com 113 of all students
Average 50
NO
Add fail tag to
student name
YES
Stop
3
Step 1: start process
Step 2: input P, Q, R
4
Step 1: input the width (W) and length (L) of com113 class
STEP 3: Print A
Start
Input W, L
A = L*W
Print A
Stop
5
Step 1: input a, b, c
Step 2: d = SQRT (b * b – 4 * a * c)
Step 3: Y1 = (-b + d) / (2 * a)
Step 4: Y2 = (-b – d) / (2 * a)
Step 5: print Y1, Y2
Start
Input A, B, C
D = SQRT + (b * b – 4 *a * b * c)
Y1 = (-b + d) / (2 * a)
Y2 = (-b - d) / (2 * a)
Print Y1, Y2
Stop