Bucky5644 Bucky5644
  • 09-11-2020
  • Computers and Technology
contestada

Write a program that passes an unspecified number of integers from command line and displays their total.

Respuesta :

barackodam barackodam
  • 09-11-2020

Answer:

Explanation:

I will go straight to the code, and hope it didn't confuse you.

Here is it

public static void main(String[] args)

int [] x = new int [args.length]

for (int y = 0; y< args.length;yi++)

int[y] = (int) args [y]

Answer Link

Otras preguntas

What company management strategy was used to suppress the Homestead Strike?
why do mammals need more extensive respiratory surface?
steps to this log equation
What are the uses of Electricity in our every day life?
what happened to the water vapor when the earth cooled 3 billion to 3.5 billion years ago ? What formed ?
how do i find the mid point of (-6,0) , (6,5) please show work thanks
State the maximum and mini mum value of f(x)= x^2+9
find X : log2+ logx=1
a current of 4A flows in a wire of resistance 60 ohm. calculate electrical energy consumed in 2 min.
State the maximum and mini mum value of f(x)= x^2+9
good job