Computer Science, asked by n6390633496d, 2 months ago

Q-7 Write a program for the following:
1. To print first five odd numbers on the form.
2. Print First 10 multiples of 7.

Answers

Answered by Alabhyasingh487
0

Answer:

hope this will help you

mark me as Branliest

Attachments:
Answered by purveshKolhe
1

Answer:

1.

public class Brainly {

public static void main(String[] args) {

for (int i = 1; i < 10; i = i + 2)

System.out.println(i);

}

}

2.

public class Brainly {

public static void main(String[] args) {

for ( int i = 7; i < 71; i = i + 7)

System.out.println(i);

}

}

Hope this helps you bro

Similar questions