Question

a. Write an if statement that puts 1 in the current cell of a spreadsheet if...

a. Write an if statement that puts 1 in the current cell of a spreadsheet if the floating-point values in cells B2 and B3 are equal and otherwise puts 0 in the current cell.

b. In another computational tool, write an if statement that displays 1 if 34. a. the floating point values in x and z are equal and otherwise displays 0.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

The syntax for the IF function is:

=if ( test, then_true, otherwise_value )

The function's three arguments are:

  • test - (required) a value or expression that is tested to see if it is true or false;
  • then_true - (required) the operation that is carried out if the test is true;
  • otherwise_value - (optional) the operation that is carried out if the test is false.

Note: When entering the IF function, the three arguments are separated by commas ( , ).

So i giving your questions answer

(a) = if(B2=B3,1,0)

B2=B3,when true put 1 in cell otherwise 0.

(b) in other computational tool that is c++, the if statement is

if(float x==float z)

{

cout<<1;

}

else

cout<<0;

if any dificulty,you can commenton this,otherwise upvote me.

Add a comment
Know the answer?
Add Answer to:
a. Write an if statement that puts 1 in the current cell of a spreadsheet if...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT