Pular para o conteúdo

PROGRAMAÇAO EM PASCAL

Responder tópico
  • Denunciar
  • Indicar

1. PROGRAMAÇAO EM PASCAL

Enviado em 07/07/2016 - 21:30h

ola gente
to tentando aprender um pouco sobre programaçao e to com um duvida nessas linhas...

Program [*****] ;

var
nota1:real;
nota2:real;
nota3:real;
resultado:real;


Begin
writeln('digite a nota1');
readln(nota1);

writeln('digite a nota 2') ;
readln(nota2);
writeln('digite a nota 3') ;
readln(nota3);

if nota1+nota2+nota3>=6.5 then

whiteln('voce foi aprovado);
else ('vc foi reprovado');




End.




no final ta dando um erro, claro q eu podia rever um video sobre mas to postando aqui para q vcs me deem algumas dicas para eu fixar o conteudo'); obs: quando abre aquele terminal tbm nao fala pra mim por a nota. to usando pascal zim


[IMG]http://i63.tinypic.com/2dvoe43.png[/IMG]
[IMG]http://oi64.tinypic.com/r2oils.jpg[/IMG]
[IMG]http://i68.tinypic.com/1178rpe.jpg[/IMG]


htttp://i68.tinypic.com/1178rpe.jpg
http://oi63.tinypic.com/2dvoe43.jpg
http://oi64.tinypic.com/r2oils.jpg

Responder tópico

2. Re: PROGRAMAÇAO EM PASCAL

Enviado em 07/07/2016 - 22:16h

Nenhuma imagem aparece.
Poste a saída de erro.

Tá errado. Não é com Z. É com S. Isto sem contar o til. Mas é ASCII.
A vantagem é de que o detector de palavras censuradas não pega.

----------------------------------------------------------------------------------------------------------------
Nem direita, nem esquerda. Quando se trata de corrupção o Brasil é ambidestro.
(anônimo)

Encryption works. Properly implemented strong crypto systems are one of the few things that you can rely on. Unfortunately, endpoint security is so terrifically weak that NSA can frequently find ways around it. — Edward Snowden

Responder tópico

Responder tópico

Entre na sua conta para responder.

Fazer login para responder