You are on page 1of 1

Program Pzim ;

Var
estado:char;

Begin
Writeln ('Informe o estado civil');
Read (estado);
Case estado Of
'S': Writeln ('Solteiro');
'C': Writeln ('Casado');
'D': Writeln ('Divorciado');
'V': Writeln ('Viuvo');
Else
Writeln ('Estado inv�lido')
End;
End.

You might also like