Professional Documents
Culture Documents
Aluno: Gilney Do Amaral Soares Turma: Sis 14-1 Disciplina: Técnicas de Programação
Aluno: Gilney Do Amaral Soares Turma: Sis 14-1 Disciplina: Técnicas de Programação
textcolor (white);
Writeln ('Agora vamos subtrair 2 valores');
Writeln ('Digite um valor qualquer:');
Readln (X);
Writeln ('Digite outro valor:');
Readln (Y);
Res2:= (X - Y);
Writeln ();
textcolor (green);
Writeln ('O resultado da subtrao : ' , Res2:2:1);
End;
delay(4000);
textcolor(yellow);
Writeln ();
Writeln ();
Writeln ('================ EXERCICIO MDIA ================');
Writeln ();
Writeln ();
Begin
textcolor (white);
Writeln ('Agora iremos calcular a mdia de um aluno.');
Writeln ('Digite a nota do primeiro Bimestre:');
Readln (Nota1);
Writeln ('Digite a nota do segundo Bimestre:');
Readln (Nota2);
Media := (Nota1 + Nota2)/2;
textcolor (green);
Write ('A media do aluno : ' ,Media:2:1);
End;
delay(4000);
textcolor (yellow);
Writeln ();
Writeln ();
Writeln ('================ EXERCICIO EQUACAO ================');
Writeln ();
Writeln ();
Begin
textcolor(white);
Writeln ('
2');
Writeln ('Agora a vez de calcular a seguinte equao, X + 2x * Y');
Writeln ('Meu ajude informando o valor de X:');
Readln (X);
Writeln ();
Writeln ('Preciso tambem do valor de Y:');
Readln (Y);
Writeln ();