Write java statements for the following:
i) a for loop statement where the initial value of a variable is 5, final value is 25
and the loop increments by 5 in every iteration. IN JAVA
ASAP
Answers
Answered by
1
Answer:
for(int i=5; i<=25;i+=5){
System.out.println(i);
}
Explanation:
Similar questions
English,
2 months ago
History,
2 months ago
Science,
4 months ago
Math,
4 months ago
Computer Science,
11 months ago