Computer Science, asked by hajafai01faiz, 1 year ago

write a program to input a number and prints its first five multiples?

Answers

Answered by wwwsrivastavasoni468
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 csanjali1090
3

Answer:

Explanation:Python......

It's the easiest way....

Attachments:
Similar questions