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,
6 months ago
Science,
6 months ago
English,
6 months ago
English,
1 year ago
History,
1 year ago
Social Sciences,
1 year ago
Social Sciences,
1 year ago