How to write a while statement in c? -
i should write c while statement continues while x both larger 10 , multiple of either 6 or 7. need include actual while statement, not entire loop!
i know may funny you, have far.
#include<stdio.h> int main(){ int x; while (x > 10, x % 7 = 0 || x % 6 = 0) { printf("%d\n", x); } }
logical , &&. operator, , "ignore result of thing left".
Comments
Post a Comment