briashandrad1 briashandrad1
  • 06-01-2017
  • Computers and Technology
contestada

Write a Java program to declare and store numbers from 1 to 10 in a single dimensional array and
display the output in the following format. 1 42769 38812 7 8 9 10

Respuesta :

klekaelly
klekaelly klekaelly
  • 08-01-2017
class x {

public static void main (String args[])
   {
    /*declaration, instantiation and initialization */
     int a[] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}; 

   }




}
Answer Link

Otras preguntas

What is negative 5 squared?
How would you add parentheses and brackets to make this sentence true: 45/2x4.7-4.4x6=54
If a woman is homozygous for type A blood and her husband is type O, what is the probability that their offspring would have any one of the 4 possible blood typ
I need help solving this
Solve formula for x. 2bx - b = -5
A cheetah is hunting. Its prey runs for 7.4 s at a constant velocity of 11.3 m/s. Starting from rest, what constant acceleration must the cheetah maintain in or
What does A.D. Mean? Example 400 A.D.
On what date did Columbus sail the ocean blue
What is the solution to this problem? 5x-3y=6 and 2x-5y=10
I need help solving this