Ответ:
#include <iostream>
int main() {
int T, S, N;
N = 0;
std::cout << "Введите значение T: ";
std::cin >> T;
S = T * 9;
if (S > 80) {
N = 80 - S;
std::cout << "N = " << N << std::endl;
}
return 0;
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Verified answer
Ответ:
#include <iostream>
int main() {
int T, S, N;
N = 0;
std::cout << "Введите значение T: ";
std::cin >> T;
S = T * 9;
if (S > 80) {
N = 80 - S;
std::cout << "N = " << N << std::endl;
}
return 0;
}