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

Other questions on the subject: Computers and Technology

image
Computers and Technology, 21.06.2019 15:10, kamkam5791
Chiko bought 75 shares of stock at $19.58 per share. he received dividends of $73.42 during the year. at the end of the year, his stock was valued at $22.14. what was his purchase price?
Answers: 2
image
Computers and Technology, 23.06.2019 01:30, solikhalifeoy3j1r
In deadlock avoidance using banker’s algorithm, what would be the consequence(s) of: (i) a process declaring its maximum need as maximum possible for each resource. in other words, if a resource a has 5 instances, then each process declares its maximum need as 5. (ii) a process declaring its minimum needs as maximum needs. for example, a process may need 2-5 instances of resource a. but it declares its maximum need as 2.
Answers: 3
image
Computers and Technology, 23.06.2019 04:31, manlyman31
Selling a product through an electronic medium is
Answers: 1
image
Computers and Technology, 23.06.2019 18:50, ana7496
What is transmission control protocol/internet protocol (tcp/ip)? software that prevents direct communication between a sending and receiving computer and is used to monitor packets for security reasons a standard that specifies the format of data as well as the rules to be followed during transmission a simple network protocol that allows the transfer of files between two computers on the internet a standard internet protocol that provides the technical foundation for the public internet as well as for large numbers of private networks
Answers: 2
You know the right answer?
Hi there, What's wrong in this code?
I wanted to print the array of account balances.
i...

Questions in other subjects:

Konu
Social Studies, 26.10.2020 14:00
Konu
Mathematics, 26.10.2020 14:00
Konu
Computers and Technology, 26.10.2020 14:00