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
Habilidades de la alfabetizacion digital?
Eva8 [605]

Answer:

La American Library Association (ALA) define la alfabetización digital como "la capacidad de utilizar las tecnologías de la información y la comunicación para encontrar, evaluar, crear y comunicar información, lo que requiere habilidades cognitivas y técnicas".

6 0
3 years ago
You are the IT Administrator for the CorpNet.local domain. You are in the process of implementing a group strategy for your netw
Allisa [31]

Answer:

1. Select Tools then Active Directory Users from the Server Manager

2. Navigate to the relevant Organizational Unit, OU, in the Active Directory

3. Select New then Group in the OU in which a global securities group is to be created

4. The group name (Accounting, Research-Dev, or Sales) is entered into the Group name field

5. Select the scope of the group

6. The group type is then selected (Domain Local, Global, or Universal)

7. The user accounts are then added to the group as follows;

i) Selecting the Add to a group option after right clicking a user account

ii) Enter the name of the appropriate group in the field to Enter the object names to select

iii) A group scope and group type is then selected

iv) Click on Check names

v) Other users can be added to the group by repeating steps i), ii), iii), and iv)

8) To add additional users to the group, the step 6, 7, and 8 is to be repeated

Explanation:

7 0
3 years ago
When is padding required for a structure type variable? Group of answer choices When the structure contains a word-type variable
yarga [219]

Answer:When the structure contains a word-type variable, such as integer, float, and pointer, and the total number of bytes is not a multiple of four ---A

Explanation:Structure padding is the assigning of members of a structure to appear at the correct byte boundary. To achieve this, padding is added by a complier so that structure members can appear in thier correct location, taking into consideration also the size of the structure which must be arranged orderly to the memory so that the padding can reoccur at the end of the structure.

For example--

For a structured type variable, padding is required when the structure contains a word-type variable, such as integer, float, and pointer, and the total number of bytes ie depending on the type of byte fed into the memory for the specific purpose.

6 0
3 years ago
What is the best method for modern businesses to authorize the use of workplace resources to its employees? a. assign them a use
Zielflug [23.3K]

The best method for modern businesses to authorize the use of workplace resources to its employees is to assign them a user authentication and password.

What is user authentication and password?

This is known to be what identifies a user when using the computer system or others.

Note that in the above, The best method for modern businesses to authorize the use of workplace resources to its employees is to assign them a user authentication and password.

Learn more about businesses from

brainly.com/question/24553900

#SPJ4

6 0
2 years ago
Samira recently opened an online potted plant store and needs to promote it. She chose Google Ads because it offers advertisers
Gemiola [76]

Answer:

Shopping campaigns, which promote her products by giving consumers detailed information about what she’s selling before they click her ad.

Explanation:

The campaign will give a prospective buyer an insight to what he/she is about to purchase, the quality and it purpose/relevance.

5 0
3 years ago
Read 2 more answers
Other questions:
  • You discover memory is corrupted, what would be an indication of a software vs. a hardware issue?
    5·1 answer
  • A(n) ________ network is a computer network that spans a relatively small area, allowing all computer users to connect with each
    14·1 answer
  • The Microsoft Developer Network is an example of a software development company. software development marketplace. developer for
    5·1 answer
  • ShellShock had the potential for an unauthorized user to gain access to a server. It affected many internet-facing services, whi
    11·1 answer
  • Which of the following is NOT contained on the Slide Show toolbar?
    11·2 answers
  • Write a for loop that sets each array element in bonusScores to the sum of itself and the next element, except for the last elem
    11·2 answers
  • We will use linear interpolation in a C program to estimate the population of NJ between the years of the census, which takes pl
    10·1 answer
  • The software maintains and manages information related to employees, rooms, committees, and committee meetings of a company. The
    9·1 answer
  • Florida law requires every child blank years of age or younger use a crash tested federally be approved child restraint device
    5·2 answers
  • A void function can return any value. TRUE FALSE
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!