Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Test
Program GetRekdRaul(output); var milage,first100,remaining:integer; total:real; const downpayment = 17.75; begin writeln('Enter the amount of miles travelled'); readln(milage); if milage > 100 then begin first100 := 100*25; remaining := (milage-100)*10; total := first100 + remaining + downpayment; end else begin total := milage*25 + downpayment; end; writeln('total miles travelled: ',milage); writeln('total charged: ',total); end.
run
|
edit
|
history
|
help
0
звёздное небо и подсчёт кратных звёзд
444555666
3
Андреева Урок 6 задача 8 (1531)
jugando v2
eliminar elementos de un arreglo
Определение типа треугольника по трём сторонам
solar_system_array_n_planets
This
nomer1