Turli xil ko'rinish sohasida bo'lgan bir xil nomdagi funksiyalar qanday xossaga ega? Выберите один ответ: O a. qayta aniqlanadi O b. sintaksis Xatolikka olib keladi O c. qayta yuklanadi d. qayta aniqlanadi va yuklanadi
function TenIn16(x: integer): string; var s: string; begin repeat s := sixteen[x mod 16 + 1] + s; x := x div 16; until x = 0; if length(s) = 1 then s := '0' + s; TenIn16 := s; end;
var f1, f2: text; a1, a2, a3: byte;
begin assign(f1, 'record.txt'); reset(f1); assign(f2, 'result.txt'); rewrite(f2); while not eof(f1) do begin read(f1, a1, a2, a3); writeln(f2, TenIn16(a1), TenIn16(a2), TenIn16(a3)); end; close(f1); close(f2); end.
Объяснение:
<---------------------------1--------------------------->
#include <iostream>
using namespace std;
int main() {
int a;
cin>>a;
if ((a/100+(a%100)/10+a%10) % 2 == 0)
cout << "YES";
else
cout << "NO";
return 0;
}
<---------------------------2--------------------------->
#include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a == b || a == c || c == b)
cout << "YES";
else
cout << "NO";
return 0;
}
<---------------------------3--------------------------->
#include <iostream>
using namespace std;
int main()
{
int a, b;
char sing;
cin >> a >> sing >> b;
switch (sing)
{
case '*':
cout << a * b;
break;
case '/':
cout << a / b;
break;
case '+':
cout << a + b;
break;
case '-':
cout << a - b;
break;
default:
cout << "ERROR";
break;
}
return 0;
}