My for loop is not working, & I don't know what's wrong. | Selenium Forum
N
Nitika Gupta Posted on 06/09/2022

In one of the practise module I've to write a program to print all no's less than 100 divisible by 5 & I wrote the following code. But this is not giving me the desired result-

int i;
for (i = 5 ; i<=100; i = i+5); {


System.out.println("Divided by 5 = " +i);


M
ms1shameem Replied on 08/09/2022


2