plzz solve it fast
no spamming
Attachments:
Answers
Answered by
0
Answer:
import java.util.*;
public class Main
{
public static void main(String[] args) {
Scanner sc=new Scanner(System.in);
int number=sc.nextInt();
int times=sc.nextInt();
int sum=0;
for(int i=1;i<=times;i++)
{
sum=sum+number;
}
System.out.println("= "+sum);r
}
}
Explanation:
it is a java program
Attachments:
Similar questions