Ответ:
Объяснение:
pascal
var a,x,y:integer;
begin
readln(a);
a:=a div 10;
y:=a mod 10;
x:=(a div 10) mod 10;
writeln(x*y);
end.
C++
#include <iostream>
using namespace std;
int main(){
int a,x,y;
cin>>a;
a = a//10;
y = a%10;
x = (a//10)%10;
cout<<x*y;
return 0;
}
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Ответ:
Объяснение:
pascal
var a,x,y:integer;
begin
readln(a);
a:=a div 10;
y:=a mod 10;
x:=(a div 10) mod 10;
writeln(x*y);
end.
C++
#include <iostream>
using namespace std;
int main(){
int a,x,y;
cin>>a;
a = a//10;
y = a%10;
x = (a//10)%10;
cout<<x*y;
return 0;
}