1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
labwork [276]
2 years ago
7

How to use boolean to check if math answer is correct java

Computers and Technology
2 answers:
allsm [11]2 years ago
7 0

Boolean can be use to check math as follows;

  • 6 < 5
  • 8 > 7
  • 6 == 9

<h3>What are Booleans?</h3>

Booleans is a datatype with two possible values namely True and False.

The Boolean can be denoted as bool.

In programming its often use to check if a mathematical expression or statement are True or False.

Therefore, let's use it in mathematical expression;

6 < 5

8 > 7

6 == 9

The first expression will return False.

The second expression will return True.

The third expression will return False.  

learn more on Booleans here: brainly.com/question/14120893

#SPJ11

Lubov Fominskaja [6]2 years ago
4 0

Answer:

You can use an if statement since it is a Boolean type of function.

An if statement has to be true to be used. A double == is the best when checking.

These are all the possible symbols you can use to check if the math answer is correct: || , &&, <, >, <=, >=, ^, != , ==

As seen in the images, if x is the same value as y it is correct. However if it is not, it is wrong.

You might be interested in
an organization wants to use its computer to make video calls with suppliers overseasename two input and two output device that
ratelena [41]

Answer:

an organization wants to use its computer to make video calls with suppliers overseasename two input and two output device that the organisation must have for this to happen and briefly explain the popruse of each device

7 0
3 years ago
A file extension of .xlsx means that the file contains what?
laiz [17]

A .xlsx file tells you that the file is an Excel workbook that utilizes XML files to create the various spreadsheets as well as macros and other hidden codes used to perform certain functions (which is why there's an X at the end; older .xls files had no indication of this external code being present, which is why they're almost never recommended for modern use).

3 0
3 years ago
It can store 5 times more data <br>than DVD and has scratch<br>resistance property.​
pav-90 [236]
Is this the full question?
7 0
3 years ago
What word is used today to refer to network-connected hardware devices?.
lions [1.4K]
Th answer to your question is Endpoint
5 0
2 years ago
Tim has an old server computer that his company uses as a backup. One of the hard drives has gone bad and needs to be replaced.
algol [13]

Answer: SCSI hard drive.

Explanation:

SCSI means Small Computer System Interface.

It is a fast bus with the capacity to connect a number of devices to a computer system simultaneously, those devices includes printer, scanners, tape drives, hard drives, CD-ROM devices. SCSI helps to connect devices and transfer data in between computer and ancillary devices.

SCSI was invented by the American National Standard Institutes (ANSI)

Common Components of SCSI includes;

• Target.

• Expander.

• Service delivery.

• Initiator.

• Sub system.

3 0
3 years ago
Other questions:
  • What is primary storage
    11·2 answers
  • Which of the following types of network can only be accessed by members within a private organization?
    5·1 answer
  • Explain briefly why every person in the world is not connected to the Internet.
    9·1 answer
  • You insert a comment in a worksheet by using a command on the ____ tab on the Ribbon.
    13·1 answer
  • Java Programming Using nested if statement For a student to be accepted in XYZ College, the student must meet the following requ
    5·1 answer
  • Unlike radio frequency identification (RFID) tags, bar codes: Question 30 options: require a reader that tunes into a specific f
    14·1 answer
  • Which of these five are Netflix Originals?1/5
    5·1 answer
  • Suppose we used an internet addressing protocol that used 4 bits to encode a single address. How many devices would be supported
    15·1 answer
  • A CPU scheduler that assigns higher priority to the I/O-bound processes than the CPU-bound processes causes:
    10·1 answer
  • What is computer fundamental ?
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!