answersLogoWhite

0


Best Answer

It depends on the language. Each has different operators. First thing you learn with any language is which ones they use.

some common operators include: i != 5 i <> 5

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you write a conditional statement for executing some code if i is NOT equal to 5?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you write a conditional statement for executing some code if i is equal to 5?

The precise answer depends on the language that the algorithm is to be expressed in. Assuming the common 'C' family of languages, one would write: if(i==5){ [some code] }


How do you write an IF statement for executing some code if i is NOT equal to 5?

if(i != 5){ //do something }


Which of the following statements is a conditional statement?

If you pay attention while taking notes, you should be able to write down everything the speaker says.


How do you write and inequality statement for 2 and 17?

2 is not equal to 17.


How do you write the inverse of a statement?

given(statement)- If 2+3=5, then 5=2+3 inverse- If 2+3 is not equal to 5, then 5 is not equal to 2+3


What is the Conditional past tense of write?

If [I] wrote [this answer] then [...].


How to write -7 less than or equal to 5?

Don't bother. The statement isn't true. -7 is never equal to 5.


How do you use the conditional statement of turbo c?

#include&lt;stdio.h&gt; void main() { int a=10,b=15; clrscr(); if(a&gt;b) printf("%d is the large number",a); else printf("%d is the large number",b); getch(); }


Write a c program that will exchange the values of x and y after the statement executed x is equal to y and y is equal to x?

what is a program x and y


How do you write an modus ponens in symbols using letters and true-functional connectives?

Modus Ponens can be written in the following way symbolically:p --> qpTherefore qWhere the lowercase letters can be any statement, "-->" represents an arrow for a conditional statement, and use three dots arranged in a triangle to represent "therefore."


How does write statement differ from writeln statement?

I think you mean written statement. What you are asking about write statement you are confusing with written statement, the same with write in statement. A written statement is simply putting your words, or your version of events in writing.


How do you write a formula to color code cells depending on the number average?

You would use conditional formatting to do this. There is a facility within conditional formatting to set formatting based on the value of another cell. Use the Cell Value Is Equal To and set the value you want to be equalled to, to a cell that has the average of all the cells in it.You would use conditional formatting to do this. There is a facility within conditional formatting to set formatting based on the value of another cell. Use the Cell Value Is Equal To and set the value you want to be equalled to, to a cell that has the average of all the cells in it.You would use conditional formatting to do this. There is a facility within conditional formatting to set formatting based on the value of another cell. Use the Cell Value Is Equal To and set the value you want to be equalled to, to a cell that has the average of all the cells in it.You would use conditional formatting to do this. There is a facility within conditional formatting to set formatting based on the value of another cell. Use the Cell Value Is Equal To and set the value you want to be equalled to, to a cell that has the average of all the cells in it.You would use conditional formatting to do this. There is a facility within conditional formatting to set formatting based on the value of another cell. Use the Cell Value Is Equal To and set the value you want to be equalled to, to a cell that has the average of all the cells in it.You would use conditional formatting to do this. There is a facility within conditional formatting to set formatting based on the value of another cell. Use the Cell Value Is Equal To and set the value you want to be equalled to, to a cell that has the average of all the cells in it.You would use conditional formatting to do this. There is a facility within conditional formatting to set formatting based on the value of another cell. Use the Cell Value Is Equal To and set the value you want to be equalled to, to a cell that has the average of all the cells in it.You would use conditional formatting to do this. There is a facility within conditional formatting to set formatting based on the value of another cell. Use the Cell Value Is Equal To and set the value you want to be equalled to, to a cell that has the average of all the cells in it.You would use conditional formatting to do this. There is a facility within conditional formatting to set formatting based on the value of another cell. Use the Cell Value Is Equal To and set the value you want to be equalled to, to a cell that has the average of all the cells in it.You would use conditional formatting to do this. There is a facility within conditional formatting to set formatting based on the value of another cell. Use the Cell Value Is Equal To and set the value you want to be equalled to, to a cell that has the average of all the cells in it.You would use conditional formatting to do this. There is a facility within conditional formatting to set formatting based on the value of another cell. Use the Cell Value Is Equal To and set the value you want to be equalled to, to a cell that has the average of all the cells in it.