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
Marina86 [1]
2 years ago
5

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 i

t? Thanks

Computers and Technology
1 answer:
AVprozaik [17]2 years ago
7 0

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

You might be interested in
Is windows 7 professional faster than home premium?
Olin [163]
Widows 7 is no longer supported for anti virus, I recommend a windows 10 license
8 0
2 years ago
The piston ring isn't a completely solid ring; instead, it's usually split at one point. This split or gap in the ring is called
Umnica [9.8K]
<span>Answer: Ring end gap
 Ring end gap is the split or gap in the ring. The piston ring is split at one point and it is not completely solid ring and the split/ gap is termed as ring end gap.</span>
8 0
3 years ago
Read 2 more answers
Jasmine took many pictures at a photo shoot. She wants to transfer these pictures from her camera to her laptop for image enhanc
hoa [83]
The answer would more likely be A
If it’s not correct I’m very sorry
5 0
2 years ago
How do you open the two versions of internet explorer 10?
Crank
On which windows it's not hard just search it google i would help but i hadn't used computer since may
5 0
3 years ago
Carmen wanted to clear up space on her computer and remove unwanted files. What would be the best for her to delete?
melisa1 [442]

Answer:

junk files

Explanation: if a file is in a junk file it is most likely unwanted

7 0
3 years ago
Read 2 more answers
Other questions:
  • In java write a program:A contact list is a place where you can store a specific contact with other associated information such
    8·1 answer
  • Give two examples of desktop publishing software
    7·1 answer
  • I need help making a survey for highschool students in my school any topics/questions?
    9·1 answer
  • What makes Group Policy such a powerful tool is its ability to enable security administrators to:_________.
    8·1 answer
  • How to get 60 fps pubg​
    9·2 answers
  • 4. The same data source can be used multiple times in creating mail-merge documents.
    7·1 answer
  • _____ _____ deals with the definitions properties of mathematical models of computation.
    8·1 answer
  • Arrays are described as immutable because they are two dimensional. are arranged sequentially. can be reordered. cannot be chang
    13·1 answer
  • Mihaela I. Croitoru – Utilizarea calculatorului personal Microsoft Word dau coroana
    14·1 answer
  • What how do i delete a question
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!