Write down a program in Java to accept a number and display its first 10 multiples
Answers
Answered by
1
Answer:
public class Example {
public static void main(String[] args) {
for (int i=1; i<= 10; ++i) System.out.println(i*5);
}
}
Explanation:
Similar questions