Firstly you forgot to initialize your variable 'i'.
Secondly, what are you trying to do?
The condition you've written inside your while loop, (a%s) != 0) will always return false as a%s will always be 0 (because 1 perfectly divides every real number). 0 != 0 gives us false.
So i's value would be set to 0 and your second for-loop would never execute.
I'm not sure what you're trying to do, sorry. But I would suggest giving better identifiers to your variables.