I am getting two expected errors on this code for the bottom two “public static void” lines. Can someone tell me how I can fix it? Thanks

I Am Getting Two Expected Errors On This Code For The Bottom Two Public Static Void Lines. Can Someone

Answers

Answer 1

Answer:

Declare variable b in both lines

i.e. int b

Explanation:

In the given code, the parameters of both functions were not properly declared.

When listing the parameters, the data type must be clearly stated for all parameters (individually)

In the declaration of both functions, only variable a is declared as integer while b is undeclared.

So, the correction is to declare b as integer


Related Questions

c) Internet is a:
a) A single network.
b) A vast collection of different networks
c) Interconnection of LAN.
d) None of these.​

Answers

I think the answer is a single network

Answer:

a vast collection of different

networks

Complete the procedure for forwarding a message by selecting the correct term from each drop-down menu.
1. ___ or open a message.
2. Click the Forward button.
3. In the To field, enter the names of intended recipients.
4. Click the ___ button.

Answers

Answer:

Preview; send.

Explanation:

Communication can be defined as a process which typically involves the transfer of information from one person (sender) to another (recipient), through the use of semiotics, symbols and signs that are mutually understood by both parties. One of the most widely used communication channel or medium is an e-mail (electronic mail).

An e-mail is an acronym for electronic mail and it is a software application or program designed to let users send texts and multimedia messages over the internet.

The procedure for forwarding a message to a recipient include;

1. Preview or open a message. This is to ensure that the appropriate or specific message is selected.

2. Click the Forward button. This button opens the dialog box to allow the sender input various details about the message and the recipient.

3. In the To field, enter the names of intended recipients.

4. Click the send button. This button automatically forwards the message to the intended recipient(s).

How would I collect a number from the user to use for the radius of a circle?



int(input("What is the radius?: "))

radius = int("What is the radius?: ")

radius = int(input("What is the radius?: "))

radius = int input("What is the radius?: ")

Answers

Answer:

C is the correct answer to your question

To collect a number from the user to use for the radius of a circle use radius = int(input("What is the radius?: ")). The correct option is C.

What is coding?

We connect with computers through coding, often known as computer programming.

Coding is similar to writing a set of instructions because it instructs a machine what to do. You can instruct computers what to do or how to behave much more quickly by learning to write code.

Coding abilities, sometimes referred to as programming skills, are the ability to write commands in a variety of programming languages that tell a computer, application, or software programme what to do and how to do it.

Use the formula radius = int(input("What is the radius? ")) to ask the user for a value to represent the radius of a circle.

Thus, the correct option is C.

For more details regarding coding, visit:

https://brainly.com/question/17293834

#SPJ2

Could you give me Aidan Gallagher's wuasp number​

Answers

Answer:no

Explanation:no

Answer:

no

Explanation:

why do you need it

hope you you find what you looking for

News writers get story leads from____.
A. subscriptions
B. press releases
C. advertisers
D. school papers

Answers

I believe the answer is B.Press releases! Hope this helps:)

Which mode would you use to take a photograph inside a cave in dim light?
A.
program mode
B.
aperture priority mode
C.
auto mode
D.
night mode
E.
sports mode

Answers

Answer:

I think B or A because when you go in a dark place you can use this

Answer:

D. Night Mode.

Explanation:

I am not 100% sure but it seems like since you are in a cave in dim light it would be like at night with the moon.

I need help 40 points and brainless if you answer

Answers

Answer:

The answer is C

Explanation:

Write a program in java to enter a character.The program displays the message "uppercase vowel" if entered character is uppercase vowel.Otherwise,displays the message "not an uppercase vowel".

Answers

Answer:

d

Explanation:

i think

What is the first step in finding a solution to a problem? (5 points)
Choose a solution.
Think of options to solve the problem.
Try the solution.
Turn the problem into a question.

Answers

Answer:

Turn the problem into a question.

Explanation:

What are the basic tasks performed by an operating system?​

Answers

Answer:

An operating system is a software which performs all the basic tasks like file management, memory management, process management, handling input and output, and controlling peripheral devices such as disk drives and printers.

Explanation:

i hope it helps:)

Define function print_popcorn_time() with parameter bag_ounces. If bag_ounces is less than 3, print "Too small". If greater than 10, print "Too large". Otherwise, compute and print 6 * bag_ounces followed by "seconds". End with a newline. Remember that print() automatically adds a newline.

Answers

Answer:

In Python:

def print_popcorn_time(bag_ounces):

   if bag_ounces < 3:

       print("Too small")

   if bag_ounces > 10:

       print("Too large")

   else:

       print(str(6 * bag_ounces)+" seconds")

       

Explanation:

This defines the function

def print_popcorn_time(bag_ounces):

This checks if bag_ounces < 3

   if bag_ounces < 3:

If yes, it prints too small

       print("Too small")

This checks if bag_ounces > 10

   if bag_ounces > 10:

If yes, it prints too big

       print("Too large")

If otherwise,

   else:

Multiply bag_ounces by 6 and print the outcome

       print(str(6 * bag_ounces)+" seconds")

Answer:

Explanation:

def print_popcorn_time(bag_ounces):

  if bag_ounces < 3:

      print("Too small")

  elif bag_ounces > 10:

# Use of 'if' for this portion, will only yield a test aborted for secondary tests

      print("Too large")

  else:

      print(str(6 * bag_ounces)+" seconds")

user_ounces = int(input())

print_popcorn_time(user_ounces)

Which is the period button on laptop

Answers

Answer:

The one next to the /?

Explanation:

opposite word of reassembling​

Answers

OPPOSITE WORDS OF REASSEMBLING

dispersedisbandseparate
opposite word of reassembling is separate

Noise can be a barrier to communication. True or False ​

Answers

Answer:

True

Explanation:

This is true because noise is one of the most common communication barriers.

Answer:

True!

Explanation:

Noise is a strong barrier that makes it hard to communicate!

2 points
1. Which characters are normally used to represent the root of the Floppy
disk drive? *
a) C1
b) A:
c) B:
d) D:
points

Answers

Answer:

B) A:

Explanation:

HELP PLEASE ive literally been here for hours
Binh has a few hours' time to create a presentation. She has most of the text and pictures she intends to use. Which feature can help her to quickly transfer the content into an attractive presentation?

A.
slide layout
B.
slide themes
C.
Slide Master
D.
Slide pane

Answers

It’s D...................................

Answer:slide layout

Explanation:

According to the video, what are some common work environments for Electrical Power-Line Installers and
Repairers? Check all that apply.
working in mines
working underground in manholes
O sitting at desks
O climbing utility poles
working in customers' homes
standing in a truck-mounted bucket

Answers

Answer:

2

4

6

Explanation: I got is wrong for y'all to get it right

Answer:

2 4 6

Explanation:

edge 2023

Which method finds the greatest common divisor of 14 and 35?

import math

math. ____ (14,35)

Answers

Answer:

gcd method

Explanation:

Given

The code snippet

Required

Which method completes the code

To return the gcd of numbers, simply use the gcd method.

So: the complete code is;

import math

math.gcd(14,35)

Answer:

gcd

Explanation:

it means greatest common divisor

Am I missing something?

Answers

Shshahw auehebehej jagehevehe suene she e e r r d f g g g e de w ehehejenebe e e where

What is Colby Knox known for?

Answers

Answer:The School in the Woods. Colby Knox is known for his work on The School in the Woods

Explanation:

Answer:

the school on the wood ghost is known as Colby Knox.

game development is a time-consuming and expensive endeavor, and being a Lone Ranger is a recipe for disaster
True or False

Answers

False although depends on the future of the person's ideas

The statement that game development is a time-consuming and expensive endeavor is false.

What is game development?

Game development is designing or creating game software. It also involves generating new concepts of game and new graphics software and new technologies.

Thus, the correct option is false.

Learn more about game development

https://brainly.com/question/19837091

#SPJ2

Non-delivered goods, counterfeit products, fraudulent payments are common type of cyber crime these

days.

a. What are such types of cyber crimes collectively called?

b. What are counterfeit products?

c. What measures can you take to stop fraudulent payments? Write any two measures.​

Answers

Answer:

a. Internet auction fraud

b. Counterfeit products are products made and/or sold under the brand name of a product of a higher quality

c. 1) Monitor business transactions

2) Use an Address Verification System AVS

Explanation:

a. Such types of cyber crimes are collectively called Internet auction fraud

Internet or online auction fraud is a form of fraud that involves the act of providing misleading information about goods paced on advert for sale on an online auction site, including the sale of counterfeit goods, sale of goods of poor quality, receiving a different item from what was ordered, artificial bidding to increase price, omission of important information about a product, delivering an item that looks different from what was displayed on the website and the non-delivery of an item already to the buyer.

A seller can be a victim of the internet auction fraud when a buyer does not pay for goods an/or services received, request for delivery before payment, the buyer pays with a stolen credit card, the buyer uses a fake escrow account such that the money returns to the buyer after receiving the goods

b. Counterfeit products or goods are products that are being manufactured and marketed, without formal authorization, under the name of a popular and recognized but are usually of lesser quality than the product they try to imitate

c. Measures that can be taken to stop fraudulent payments are;

1) Monitor transactions to to check for red flags, including disparity in shipping and billing information

Monitor transactions from customer that use free or anonymous emails services which can easily be opened and closed without payment or proper  documentation

2) Make use of Address Verification System to authenticate the billing address on a payment, and the address on the credit card.

Java initializes all variables with the default values of its data type . *

Your answer true or false​

Answers

Answer:

This is correct.

Explanation:

int is initialized with 0

object references with null

etc.

An ______ is a simplified image. (4 letters) This is for a paxton paterson

Answers

Answer:

allegory.

p.s: this is the right answer but with out the four letters you need

Which of these is not a type of video game?

a
simulation
b
Senet
c
first-person shooter
d
RPG
e
puzzle

Answers

Answer:

b Senet

Explanation:

I'm just putting the explanation that I put in the comments

Senet was a bored game commonly played by the ancient Egyptians I have absolutely no idea why people say the answer is puzzle when the most popular video games ever, Tetris is a puzzle video game.

Which of the following is a strategy used to enhance communication in a presentation?
using as few slides as possible by increasing the amount of information on each slide
using bullets to break up text and to highlight important talking points
using a large variety of background colors and slide transitions
using images to fill up unused space on each slide

Answers

Answer: using bullets to break up text and to highlight important talking points

Explanation:

When making a presentation, it is vital for one to communicate properly with the audience and pass the message across to them well and clearly.

Using bullets to break up text and to highlight important talking points can be used to enhance communication in a presentation. This makes communication easier.

We should note that every other options given aren't appropriate and won't enhance communication.

Answer: using bullets to break up text and to highlight important talking points

Explanation:

Which is an example of the operation of a game?

a
The character has to jump over lava to travel through the level.
b
The character dies whenever the bear bites it.
c
The game has sounds to signify the approaching danger.
d
The player uses a joystick to control the character.

Answers

Answer:

D.  

The player uses a joystick to control the character.

Explanation:

The MEANING of operation is: "The fact or condition of functioning or being active."

This explains that the answer is D because you are using the joystick to control the character. Hope the helps.

Answer:

I'll say it's A. If it's not A I know it has to be B. Because nobody uses joysticks anymore were talking about examples of a operation of a game! I hope this helps! and if the answer's are wrong, just tell me.

Explanation:

Hurrryyyy it’s either a or c

How does the use of modules provide flexibility in a structured programming design?

Modules enable multiple programmers to work on a program at the same time
Modules enable a linear approach to software development
Modules ensure the reuse of code variables.
Modules ensure that a program will be completed on time.

Answers

Answer and Explanation:

I believe its A. Modularity enables multiple programmers to work on a program at the same time..

Let me know if I'm wrong..

_________ cloud offers the services to a limited and well defined number of parties

Answers

Answer:

Private

Explanation:

Jenn wrote a program where the instructions are followed in order; there is no skipping or repeating. What kind of program is this?
edited
iterative
selection
sequence

Answers

Jenn wrote a program where the instructions are followed in order; there is no skipping or repeating. What kind of program is this?

edited

Answer:

I just took the test and SEQUENCE (D)  was correct trust me I swear on the creeper aw man universe no joke pls brainliest

Explanation:

Other Questions
Which argument is BEST supported by theinformation given?A. The earthworm and lizard evolved at the sametime because of the absence of legs and hair.B. The lizard and humans share a commonancestor because of the presence of abackbone and legs.C. The trout and humans share a commonancestor because of the presence of abackbone.D. Earthworms were the most recent to evolvebecause of the absence of the derivedcharacteristics. What happens during sentencing in a criminal court case? The lawyers summarize the facts and explain what they intend to prove. The judge and the lawyers ask questions to see if the jurors are impartial. The jurors discuss the case and decide if the defendant is guilty or not guilty. The judge decides the proper punishment based on the verdict from the trial. A researcher wants to know how homeowners in her state feel about home warranties. She obtains a list of 879 homeowners in her state, selects 300 of them at random, and emails a questionnaire to them. 64 questionnaires are returned. Of these, 80% stated that they believe that the current home warranty coverage needs to be completely overhauled. Classify the following groups as the population or the sample for this particular study. a. all homeowners in the researcher's state b. The 879 homeowners whose names were obtained c. The 64 homeowners who returned the questionnaire d. The 80% who stated that the current home warranty coverage needs to be completely overhauled The total sales of a product, by all competitors in the industry, is:____.a. highest in the introduction stage.b. lowest in the market maturity stage.c. highest in the sales decline stage.d. lowest in the market growth stage.e. lowest in the market introduction stage. Commas are used in a series to________________________________________________________________. Each phrase is a separateaction and needs to be separated with a comma. What is this passage mostly about?Click for the passage, "Life on Tour."O A. How musicians live when they are on tourB. How to become a famous musicianO c. Why musicians need to go on tourD. Why fans like different musiciansHelpp please In order to attain orbit around earth, the ATLAS-V rocket must accelerate up to aspeed of about 7700m/s in about 11 minutes.a) What average acceleration is required to accomplish this?b) If the mass of the rocket + fuel is 3.05x105 kg, what is the applied force of the engine? Martin Luther's posting of his Ninety-five Theses in 1517 led to A. a decline in the expansion of overseas colonies B. the beginning of the Crusades in the Middle East C. a decline in the authority of the Catholic Church D. the emergence of absolute monarchies MOM OLUN "My father walked a daily nightmare so that I could live my dreams" is an example ofwhat poetic device from "The Correct Spelling of Father? 1) Releia: "Talvez a gente possaescapar dessas cobranassendo mais natural, cumprindodeveres reais, curtindo a vidasem se atordoar. Nadar contratoda essa correnteza." Ospronomes "dessas" e "essa"cumprem papel coesivo medida que: an ocean current moving from the equator toward a pole is Which option would be a good course of action in the followingscenario?An agronomist discovers that the plants in a field are all infected with a fungus.A. immediately apply a fungicideB. do nothingC. test the fungus to determine if it is beneficial to the plantsD. burn the crop before the infection spreads to other fields merhaba arkadalar kendi akljnizda bir hikaye yazarmzn acccill ltfen 2. True or False: Matter gets transformed by energy, but the same matter is still present. what is term? please someone tell me Plz plz plz helpppppplllpl WILL GIVE BRAINLIEST!!! (philosophy)1.Beauty is often connected to the natural world. What are some of the consequences or effects on a philosophy of beauty when nature is considered?2.What is "sensible" beauty and ethical beauty? How do the two differ? How are they similar?3.Is beauty subjective? What are some of the problems with seeing beauty as purely subjective? Will give brainliest.Audio: Hace mal tiempo, hace fro y viento va a llover y es invierno, no soy artstica, me gusta pensar.Based on the audio, what activity would be best to do?Pintar sola en el jardn.Nadar una hora en el patio.Jugar a los juegos de mesa.Hacer yoga en la calle. READLandships STRANGE WEAPONS OF WORLD WAR I In the First World War, the Allies and Central Powers were continually looking for ways to break the stalemate on the Western Front. One of the struggles troops faced was being able to cross the no-mans land. The no-mans land was the frontlines and was the terrain between the trenches. It was littered with bomb craters, destroyed debris, mud, barbwire, and was in the direct line of fire from machine guns and artillery. It was a killing zone, nearly impossible for soldiers to make it across alive. Early in the war, the British and French began to experiment and design a secret weapon that could cross no-mans land and go over the trenches. They called them landships because they resembled large ships. After making several prototypes that failed, eventually the British developed a working model which they called Big Willie. In 1916, after some modification to it and changing its name to Mark I, the British began the production of this tank. Interestingly, during the development and production of landships, in an effort to keep them a secret the British decided to call them tanks. This was because the landship resembled a large water tank and some of the factory workers thought they were building water tanks. On September 15, 1916, at the Battle of the Somme, the Germans were surprised to see these metal beasts, emerging from the fog heading slowly toward them while unloading artillery shells and machine gunfire. It was the first time tanks were used in battle. Of the 49 British Mark Is that were part of the attack, most broke down during the battle and several were captured by the Germans. Nonetheless, nine tanks were able to successfully make it across no-mans land and across the trenches. Throughout the war, the British and French would work on improving the reliability and effectiveness of the tank. They would go on to produce 6,506 tanks between them. Germany never gained much interest in the tank and only produced 20 of their own. Answer each question with a complete sentence.1. What was the no-mans land? 2. Why was it so difficult for troops to make it across no-mans land? 3. What was a landship and where did it obtain its name? 4. Why did the British decide to call landships tanks? 5. Who used tanks first and against whom? 6. During the Battle of Somme, what happened with most of the Mark I tanks? 7. How many tanks would the British and French produce in WWI? which word best completes this analogy player:team as member