срочно помогите пожалуйста
Приложения:

QwertyLokom2:
Pytyon или Pascal
Ответы на вопрос
Ответил wank34
1
#include <iostream>
int main()
{
setlocale(LC_ALL, "Russian");
double t,s,n;
std::cout << "Введите T: ";
std::cin >> t;
s = t*9;
if (s>80){
std::cout << "N = 0" << std::endl;
}
else{
n = 80*s;
std::cout << "N = " << n << std::endl;
}
return 0;
}
Ответил QwertyLokom2
1
Python:
______________________
t = int(input())
s = t * 9
if s > 80:
n = 0
else:
n = 80 - s
print(n)
______________________
PascalABC.net:
______________________
var
n,t,s:integer;
begin
readln(t);
s := t * 9;
if s > 80 then
n := 0
else
n := 80 - s;
writeln(n);
end.
______________________
Новые вопросы