1
Conversa de Café / Feliz 2022
« em: Janeiro 06, 2022, 12:13:58 am »
Bom ano a todos

Esta secção permite-lhe ver todas as mensagens colocadas por este membro. De realçar que apenas pode ver as mensagens colocadas em zonas em que você tem acesso.
# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# Note that some configuration settings that could be done previously
# in this file, now are automatically configured by the server and settings
# here are ignored.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg
Section "Device"
Identifier "Configured Video Device"
EndSection
Section "Monitor"
Identifier "Configured Monitor"
EndSection
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
EndSection
helder@helder-laptop:~$ lspci
00:00.0 Host bridge: Silicon Integrated Systems [SiS] 671MX
00:01.0 PCI bridge: Silicon Integrated Systems [SiS] SiS AGP Port (virtual PCI-to-PCI bridge)
00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS968 [MuTIOL Media IO] (rev 01)
00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev 01)
00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f)
00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f)
00:03.3 USB Controller: Silicon Integrated Systems [SiS] USB 2.0 Controller
00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] 191 Gigabit Ethernet Adapter (rev 02)
00:05.0 IDE interface: Silicon Integrated Systems [SiS] SATA Controller / IDE mode (rev 03)
00:06.0 PCI bridge: Silicon Integrated Systems [SiS] PCI-to-PCI bridge
00:07.0 PCI bridge: Silicon Integrated Systems [SiS] PCI-to-PCI bridge
00:09.0 FLASH memory: ENE Technology Inc ENE PCI Memory Stick Card Reader Controller
00:09.1 SD Host controller: ENE Technology Inc ENE PCI SmartMedia / xD Card Reader Controller
00:09.3 FLASH memory: ENE Technology Inc ENE PCI Secure Digital / MMC Card Reader Controller
00:0f.0 Audio device: Silicon Integrated Systems [SiS] Azalia Audio Controller
01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 771/671 PCIE VGA Display Adapter (rev 10)
helder@helder-laptop:~$
program Meses;
uses crt;
var
valor:Integer;
Begin
clrscr;
writeln(\\'Este programa mostra o mes correspondente um numero\\');
writeln(\\'Introduza um numero de 1 a 12\\');
readln(valor);
case valor of
1:write(\\'O Numero corresponde ‚ Janeiro\\');
2:write(\\'O Numero corresponde ‚ Fevereiro\\');
3:write(\\'O Numero corresponde ‚ Mar‡o\\');
4:write(\\'O Numero correspondente ‚ Abril\\');
5:write(\\'O Numero correspondente ‚ Maio\\');
6:write(\\'O Numero correspondente ‚ Junho\\');
7:write(\\'O Numero correspondente ‚ Julho\\');
8:write(\\'O Numero correspondente ‚ Agosto\\');
9:write(\\'O Numero correspondente ‚ Setembro\\');
10:write(\\'O Numero correspondente ‚ Outubro\\');
11:write(\\'O Numero correspondente ‚ Novembro\\');
12:write(\\'O Numero correspondente ‚ Dezembro\\');
else write(\\'A operação nao ‚ valida, tecle enter para sair!\\');
end;
readln;
end.
program calculadora;
uses crt;
var
v1,v2:Integer;
Operacao:char;
total:real;
begin
clrscr;
writeln(\\'Qual o primeiro valor?\\');
readln(v1);
writeln(\\'Qual o segundo valor?\\');
readln(v2);
writeln(\\'Qual ‚ a operação (+,-,/ ou x)\\');
readln(Operacao);
case Operacao of
\\'+\\':total:=v1+v2;
\\'-\\':total:=v1-v2;
\\'*\\':total:=v1*v2;
\\'/\\':total:=v1/v2;
else write(\\'A operação escolhida nao ‚ valida\\')
end;
write(\\'O valor total ‚ \\',total:2:2);
readln;
end.