Var a,b,c,d,e,f:integer; begin readln(a,b,c,d,e,f); write(a*b*c*d*e*f); end. На Java import java.util.Scanner; class Main{ private static Scanner scn; public static void main(String args[]){ scn = new Scanner(System.in); int a = scn.nextInt(); int b = scn.nextInt(); int c = scn.nextInt(); int d = scn.nextInt(); int e = scn.nextInt(); int f = scn.nextInt(); System.out.println(a*b*c*d*f*e); } } ПРОГРАММА к схеме: var a,b,c,d,e,f,s:integer; begin readln(a,b,c,d,e,f); s:=a*b*c*d*e*f; write(s); end.
begin
readln(a,b,c,d,e,f);
write(a*b*c*d*e*f);
end.
На Java
import java.util.Scanner;
class Main{
private static Scanner scn;
public static void main(String args[]){
scn = new Scanner(System.in);
int a = scn.nextInt();
int b = scn.nextInt();
int c = scn.nextInt();
int d = scn.nextInt();
int e = scn.nextInt();
int f = scn.nextInt();
System.out.println(a*b*c*d*f*e);
}
}
ПРОГРАММА к схеме:
var a,b,c,d,e,f,s:integer;
begin
readln(a,b,c,d,e,f);
s:=a*b*c*d*e*f;
write(s);
end.
using namespace std;
int main()
{
double a,b,c,d,e,f,P;
cin>>a>>b>>c>>d>>e>>f;
cout<<P=a*b*c*d*e*f;
return 0;
}