Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Calculatrice (case of)
//fpc 3.0.0 program Calculatrice; var number1: real; var number2: real; var option: real; var result: real; begin writeln('Bienvenue dans la calculatrice !'); writeln('Choisis une option:'); writeln('1. Addition'); writeln('2. Soustraction'); writeln('3. Multiplication'); writeln('4. Division'); writeln('5. Sortir'); readln(option); writeln('Quel est ton premier nombre ?'); readln(number1); writeln('Quel est ton deuxième nombre ?'); readln(number2); case option of 1: result:= number1 + number2; 2: result:= number1 - number2; 3: result:= number1 * number2; 4: result:= number1 / number2; writeln('Le résultat est ', result:0:2); end.
run
|
edit
|
history
|
help
0
Первая задание
Урок 3 задача 1 (1484) повышенная сложность.
3e22
ss
Сумма цифр в строке
Fibonacijev niz
135
Tugas2
calcular_sumatoria_N
nested for loop a(ii)