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
steposvetlana [31]
3 years ago
9

What is wrong with my code...

Computers and Technology
1 answer:
stiv31 [10]3 years ago
3 0
I'm not sure of the problem that you had in the first place, but I can point out that in your "bigger" method, if a number is greater than one then it is bigger, however the else statement says that the number *can* also be equal[==] to the second argument, so for example bigger(1,1) it would check if 1 > 1 and return false, so it will return that b[the second 1] is bigger! Hope this helps :D
You might be interested in
If you wanted to search for emails containing the word advanced and prevent emails containing the word new from appearing in the
chubhunter [2.5K]

Answer: Should be NOT.

Explanation: NAND would make you get emails as long as they don't have both "new" and "advanced." NOR would make you only get emails that don't have "advanced" or "new.| AND would make you only get emails with both "new" and "advanced." XOR would make you get emails as it has either "new" or "advanced," but not if it has neither or both. So NOT new makes sense, because it'll return emails that don't have "new." Hope this helps.

7 0
3 years ago
What does “int” means in php code
hram777 [196]

Answer:

integer

Explanation:

7 0
3 years ago
You are critiquing a logo design that one of your coworkers proposed. Your sense is that the individual elements of the design a
oksano4ka [1.4K]

Answer:

Unity.

Explanation:

Graphic design can be defined as an art which typically involves the combination of texts, images and colors to communicate an idea.

In graphic design, unity refers to the harmonious relationship between the various elements in a graphical piece of art, thus, making it appear as a single beautiful piece. Therefore, unity ensure a piece of work does not appear to the viewer as separate pieces but rather presents it as a single piece.

In this scenario, you are critiquing a logo design that one of your coworkers proposed. Your sense is that the individual elements of the design are fine, but when they are combined, they just don’t work well together. Thus, the main problem with this logo is unity.

8 0
2 years ago
What is the importance of knowing the concept of programming?
NeTakaya

Answer:

Computer programming is important today because so much of our world is automated. Humans need to be able to control the interaction between people and machines. Since computers and machines are able to do things so efficiently and accurately, we use computer programming to harness that computing power.

3 0
2 years ago
The following method in Inventory is intended to count how many batteries are fully charged. What should replace /*Missing Code
OverLord2011 [107]

Trees are the most important part of our environment. They are having a direct impact on our lives. We can’t breathe except the existence of trees in the world. They leave the most important thing oxygen for us. But it is a matter of sorrow that day by day, the tendency of deforestation has been increased in the peak. It has been a matter of afraid now.

Due to the high tendency of deforestation, the world is lacking enough amount of oxygen. We need to plant more and more trees to make it normal. We have seen lots of examples that the world will face a hard time except for the existence of trees. Already, lots of species of trees have been extinct.

To fight against all the environmental odds, we need to grow more trees. The best time of growing trees is the rainy season. The soil has the best capacity to grow trees in this season. Trees have lots of uses for our regular life. We can make money and maintain our life with it. It is the biggest source of food.

If you plant lots of fruit trees, you can make a business on it. From today, we all need to start planting more and more trees.

4 0
2 years ago
Other questions:
  • When you set the position property for a block element to fixed, the element
    5·1 answer
  • Does a BIOS reset erase data such as pictures, programs or other things like that?
    13·1 answer
  • Which button, when pressed, allows light from the subject to fall on the sensor?
    8·1 answer
  • The network layer of the Internet model uses the _____________ protocol to route messages though the network.
    13·1 answer
  • The program is to be answered in Java Programming not C++ Please answer the following: Modify the BarChart program to accept the
    6·1 answer
  • Today's Apple Mac computers run with the same internal hardware as the Windows-based PC.
    10·2 answers
  • Please help it would mean to world to me❤️ (WORD)
    13·1 answer
  • assume there are K sorted lists, each of n/k elements. We want to merge them into a single sorted list of n elements. Give an op
    7·1 answer
  • What is the digital revolution and how did it change society?
    14·1 answer
  • What is computer fundamental ?
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!