how to check multiple continue statements in C -


In C programming, I want to display 10 numbers using the loop, but using two numbers 5 and 7, I will display Do not want to release statement here is my code, but I am not getting any errors.

  int j = 10; For {i = 1, i & lt; = j; i ++} {if (i == 5) (i == 7) {continue; Printf ("% d", i); }}    

If I understand your question, then logical or using Please ||

  if (i == 5 = i == 7) {continue; } Printf ("% d", i);   

Alternatively, you can make a logical and & amp; Amp; Amp; Can use

  if (i! = 5 & I! = 7) {printf ("% d", i); }    

Comments

Popular posts from this blog

Out of index C/C++ -

algorithm - Graph cut with python: How to set up the graph correctly? -

objective c - how Set autolayout for multiple dynamic buttons and labells in iOS? -