Skip to content

Commit

Permalink
Update 3377.poti
Browse files Browse the repository at this point in the history
  • Loading branch information
lrlucena authored Aug 22, 2024
1 parent 6a996c8 commit 61ab6d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/3300/3377.poti
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ calc_area(d: (Inteiro, Inteiro) => Real) =
fim

# programa principal
inicio = Area(0.0, 0, 0)
var entrada, t := leia_texto, 1
enquanto entrada <> "S" faça
a = area(inclinacao(entrada))
inicio = Area(0.0, 0, 0)
area_total = entrada.injete(inicio)(calc_area(a)).area
escreva "{t}. {area_total formato "%.3f"}"
entrada, t := leia_texto, t + 1
Expand Down

0 comments on commit 61ab6d6

Please sign in to comment.