write a program to input a number and prints its first five multiples?
Answers
Answered by
9
Answer:
IN JAVA-WITH FOR LOOP VERIABLE I
Explanation:
class table
{
public void main(int n)
{
int i,p;
for(i=1;i<=5;i++)
{
p=n*i;
System.out.println(n+"*"+i+"="p);
}
}
}
Answered by
3
Answer:
Explanation:Python......
It's the easiest way....
Attachments:
Similar questions
English,
5 months ago
Math,
5 months ago
English,
5 months ago
English,
10 months ago
History,
10 months ago
Social Sciences,
1 year ago
Social Sciences,
1 year ago