subject

Hi there, What's wrong in this code?
I wanted to print the array of account balances.
import java. util. Scanner;

public class BdourBerakdarAssignment4{
public static void main (String[] args){
Scanner input = new Scanner(System. in);
System. out. print("Enter account balances separated by space: ");

double balance = input. nextDouble();
getInput[balance. length];
private static double[] getInput(size){

double[] array = new double[size];
for(int i = 0; i < size; i++){
System. out. println(array[i]);
}

}

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 14:30
What percentage of companies is projected to use social media to locate new employees in 2012
Answers: 2
question
Computers and Technology, 23.06.2019 14:00
Need ! will choose brainliest! discuss the role of abstraction in the history of computer software.
Answers: 1
question
Computers and Technology, 24.06.2019 00:30
Which boolean operator enables you to exclude a search term? a} not b} and c} or d} plus
Answers: 1
question
Computers and Technology, 24.06.2019 20:00
Which element will you include to present numerical on a slide? a: graph b: text c: flowchart d: shapes
Answers: 1
You know the right answer?
Hi there, What's wrong in this code?
I wanted to print the array of account balances.
i...
Questions
question
Mathematics, 01.02.2021 17:10
question
Mathematics, 01.02.2021 17:10
question
Mathematics, 01.02.2021 17:10
Questions on the website: 13722359