Professional Documents
Culture Documents
It Sba Pascal
It Sba Pascal
Program MotoristStatus(input,output);
var
F_Name,L_Name,Parish,TRN:string;
Fines_Due, Fines_Paid,Count:integer;
Begin
for Count := 1 to 6 do
WRITELN ('Enter the name of the motorist');
READLN F_Name
READLN L_Name
WRITELN ('Enter the TRN of the motorist');
READLN TRN
WRITELN ('Enter the parish');
READLN Parish
WRITELN ('Enter the fines due');
READLN Fines_Due
WRITELN ('Enter the fines paid');
READLN Fines_paid
If Fines_paid =0 then
WRITELN ('The name of the motorist is',F_Name, L_Name);
WRITELN ('The motorist will attend court');
End
Else
Begin
end
End.