answersLogoWhite

0

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]

}

User Avatar

Wiki User

14y ago

What else can I help you with?

Continue Learning about Other Math
Related Questions

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

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


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

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


What is the Conditional past tense of write?

The conditional past tense of "write" is "would have written."


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


How do you use the conditional statement of turbo c?

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


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

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


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 to write an equation?

Write down any two mathematical expressions, making sure that at least one of them contains an unknown quantity, and write the statement saying that they're equal to each other.


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.