Make a Flow Chart From this Pascal Programming Language
Code:
program GradePass;
uses crt;
var
t: integer;
Finalscore: real;
begin
textbackground(white);
clrscr;
textcolor(red);
{ Input (FlowChart Start From Here) }
write('Input First Semester Score: ');
readln(a);
write('Input Second Semester Score: ');
readln(t);
{ Calculate Process }
Finalscore := (a + t) / 2;
{ Print Result }
writeln('Final Score is: ', Finalscore:4:2);
if (Finalscore >= 75) then
writeln('You are declared Passed')
else if (Finalscore < 75) then
writeln('You are declared Fail');
readln;
end.
input:
Input First Semester Score: 80.00
Input Second Semester Score: 90.00
You are declared Passed
Program finished. Press ENTER to exit console.