To accept marks of five subject and display pass or fail ( if pass display Percentage too).
Answer:
-
Step 1: Start
Step 2: Accept mark of Nepali and store in
Nepali
Step 3: Accept mark of Computer and store
in Computer
Step 4: Accept mark of Social and store in
Social
Step 5: Accept mark of Math’s and store in
Maths
Step 6: Accept mark of Science and store
in Science
Step 7: Check Is Nepali greater
than equal to 40 AND Computer greater than equal to 40 AND Social greater
than equal to 40 AND Maths greater than equal to 40 AND Science greater than
equal to 40
If Yes: Calculate Pass percentage
and store in PP
Display “You are Pass and Your Percentage “PP
If No: Display “Your FAILED”
Step 8: End
Namaste sir!
ReplyDeleteKhana khanu vo?
ReplyDeleteHlo
ReplyDeleteHi sir
ReplyDelete