DEV Community

ViGnEsH
ViGnEsH

Posted on

Student Marks & Grade System Using Array

2026 - April - 02

Student Marks & Grade System Using Array

  1. Fail count
  2. if fail count is > 0 ( print no grade )
  3. Find total
  4. Find Average
  5. if average grade

*Find fail count *

  1. Const marks arrys [value]
  2. Create i variable for used loop program
  3. fail count find create failcount variable
  4. start while loop condition i<5
  5. condition pass run loopfailcount < 35 pass failcount++ and fail condition loop stop run
  6. loop outside print statement

if fail count is > 0 ( print no grade ) and Find total

  1. continue failcount less than 0 pass print no grade
  2. fail count total marks create j , total variables
  3. else condition inside while loop condition j less than 5
  4. loop pass inside total=total+mark[j]
  5. loop condition fail stop and print total marks

Find average and grade

  1. create avg variable for average value store
  2. Used Go else if statement
  3. one by one if condition and else if condition checking
  4. This all fail used else statement print.

Full project

  1. This a full Student Marks & Grade System.

Top comments (0)