Computer Science, asked by arjun9955, 1 year ago

to print the first 5 multiples of a number in a Java Program code.

Answers

Answered by shriya090304
0
class q1
{
public void kd( int n)
{
double a =0;
for (a=1;a <=5; a++)
{
double b = n*a;
System.out.println(" the "+ a + " multiples of " + n + " is ="+ b);
}
}
}
Answered by khushikumari711089
0

Answer:

ggggggggggggggggffffffffffgjjjgfddghgghh

Similar questions