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
Math,
1 month ago
English,
1 month ago
Science,
2 months ago
Math,
2 months ago
Computer Science,
9 months ago