e) Point out the errors( if any) and correct them:-
class simple
{
inta,b,c;
double sumNumber
{
int d = a + b + c;
double e = d/5.6;
return e;
}
void show Number()
{
a = 10, b = 20, c=5;
System.out.println(d);
double f = sumNumber(a,b,c);
System.out.print(e);
}
}​

Answers

Answer 1

Explanation:

double e-d/5.6;is wrong it should return to c


Related Questions

explain the working principle of computer? can anyone tell​

Answers

Answer:

input process and output hehe

Fasilitas untuk pengaturan batas kertas pada Microsoft Word adalah….

a. Margin
b. View
c. LayOut
d. Paragraph

Office 92 sering disebut juga dengan….

a. Office 3.0
b. Office 7.0
c. Office Xp
d. Office 2.0


Answers

Fasilitas untuk pengaturan batas kertas pada Microsoft Word adalah

B.View

Office 92 sering disebut juga dengan

A.Office 3.0

What do you do if your computer dies/malfunctions? Reboot (Restart) Shut Down Recovery CD and Recover your system Call a person to fix it​

Answers

Answer:

Restart

Explanation:

Simply I may restart my pc if it dies/malfunctions. I'll not restart immediately, I'll wait for an hour and do restart my computer. If it doesn't work then maybe I'll Call a person to fix it.

Write a program that asks the user to enter in a username and then examines that username to make sure it complies with the rules above. Here's a sample running of the program - note that you want to keep prompting the user until they supply you with a valid username:

Answers

user_in = input ("Please enter your username: " )

if user_in in "0123456789":

print ("Username cannot contain numbers")

elif user_in in "?":

print ("Username cannot continue special character")

else:

print (" Welcome to your ghetto, {0}! ".format(user_in))

What are some 5 constraints in using multimedia in teaching​

Answers

Answer:

Explanation:

Technological resources, both hardware and software

Technological skills, for both the students and teacher

Time required to plan, design, develop, and evaluate multimedia activities

Production of multimedia is more expensive than others because it is made up of more than one medium.

Production of multimedia requires an electronic device, which may be relatively expensive.

Multimedia requires electricity to run, which adds to the cost of its use

There are constraints in using multimedia in teaching​; The Technological resources, both hardware and software Also, Technological skills, for both the students and teacher

What is a characteristic of multimedia?

A Multimedia system has four characteristics and they are use to deliver the content as well as the functionality.

The Multimedia system should be be computer controlled. The interface is interactive for their presentation and lastly the information should be in digital.

There are constraints in using multimedia in teaching​;

The Technological resources, both hardware and software

Also, Technological skills, for both the students and teacher

Since Time required to plan, design, develop, and evaluate multimedia activities

The Production of multimedia is more expensive than others because it is made up of more than one medium.

The Production of multimedia requires an electronic device, which may be relatively expensive.

The Multimedia requires electricity to run, which adds to the cost of its use.

Learn more about multimedia here;

https://brainly.com/question/9774236

#SPJ2

3. Using Assume the following list of keys: 36, 55, 89, 95, 65, 75, 13, 62, 86, 9, 23, 74, 2, 100, 98 This list is to be sorted using the quick sort algorithm as discussed in this chapter. Use pivot as the middle element of the list. a. Give the resulting list after one call to the function partition. b. What is the size of the list that the function partition partitioned

Answers

Answer:

a. 36, 55, 13, 9, 23, 2, 62, 86, 95, 65,74, 75, 100, 98, 89

b. 15

Explanation:

How to use the AI System ?

Answers

ANSWER:

· New artificial intelligence systems are being developed to help teachers administer more effective testing that could uncover some of these often-hidden conditions. Once they can be properly identified, educators can tap into the resources available for a learning disability. Students can use AI to give reliable feedback.

Other Questions
Does the government get its power from people, or do people get their power from the government A chemical reaction in a bomb calorimeter evolves 3.86 kJ of energy in the form of heat. If the temperature of the bomb calorimeter increases by 4.17 K, what is the heat capacity of the calorimeter? Determine which quadratic equations have2 real solutions. Select two that apply. You are a provider of portfolio insurance and are establishing a four-year program. The portfolio you manage is currently worth $150 million, and you promise to provide a minimum return of 0%. The equity portfolio has a standard deviation of 25% per year, and T-bills pay 7.5% per year. Assume that the portfolio pays no dividends.Required:a. What percentage of the portfolio should be placed in bills?b. What percentage of the portfolio should be placed in equity? How would a new advance in manufacturing technology most likely affect thesupply of the good being produced?A. The supply of the good would remain the same.B. The supply of the good would not be affected.C. The supply of the good would fall.D. The supply of the good would increase.SUBMIT describe the movement of the man when the resultant horizontal force is 0 Ncan anyone help in both questions please plz help me u will give u like and follow u back plz help me Kasey has three pieces of wood that measure 9 inches, 12 inches, and 21 inches. Can she make a right trianglewith the three pieces of wood (without cutting or overlapping)? How was industrialization in Great Britain different from industrialization in China. i can do it. change into interrogative 1. Listen! I _________________ (think) someone _________________ (knock) at the door. Select the correct statement(s) regarding PONS. a. only MMF cables can be used, since MMF enables greater data capacities compared to SMF b. PONS systems require active amplifiers, since high frequency signals attenuate quickly over distance c. PONS systems use passive devices between OLT and ONT d. all are correct statements The governor's veto power is part of ________________________ I NEEDDDD D HELPPPPP!!! Which represents the inverse of the function f(x) = 4x?h(x) = x + 4h(x) = x-4h(x) = 3/4xh(x) = 1/4x A survey of 385 people who like wild sweaters found that 74% had a wild holiday sweater. What is the population and what is the sample? A moving average of stock prices _________________.A. always lies above the most recent priceB. always lies below the most recent priceC. is less volatile than the actual pricesD. is more volatile than the actual prices On an electricity bill of $40.80, Mrs.Miller pays only $38.76 because she paysbefore a certain date. What percentdiscount is Mrs. Miller allowed? Why was Carnegie Steel considered a vertical monopoly?The company controlled every step of steel production, from raw materials to distribution.The company controlled all the steel plants in the country.The company became the only source of steel after competitors went out of business.The company was able to produce more steel than any other steel company in the world. purchased heavy equipment by giving the seller a $30,000 cash down payment and a 5-year interest-bearing note for the $170,000 balance of the price. Compute Pettit's book basis and tax basis in the equipment