Java -Code zum C -Codekonverter online
import java.util.Scanner;
class CodeChef
{
public static void(String args[])
{
Scanner s=new Scanner;
int t=s.nextInt();
for(int i=0;i<t;i++)
{
int a=s.nextInt();
int b=s.nextInt();
if(a!=0)
{
System.out.println(a*b)
}
else
{
System.out.println(a);
}
}
}
}
Shiny Swiftlet