First commit

This commit is contained in:
mguinhos committed 2026-10-06 22:12:02 +00:00
commit 3d68783535
25 files changed
+1751

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
program SomaImpares;
var
n : integer;
i, proximoImpar, soma : integer;
begin
n := 4;
i := 0;
soma := 0;
while i < n do
begin
proximoImpar := 2*i + 1;
soma := soma + proximoImpar;
i := i + 1;
end;
write(soma);
write('\n');
end.