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

Mike sells used cars. He makes $250 per week plus $200 for each car he sells. Because Of Mike’s cost of living. He needs to earn at least $1250 per week to pay
what is meant by the nearest 1/8 inch
what was a result of the battle of little big horn
King faced criticism by a group of clergymen for being in birmingham. explain this criticism, and his response to it—what is his rationale for being there?
Can anybody help me? Please! Some of the offspring from these rabbits( 6 rabbits) are represented in the diagram below( I can’t to keep it here) . One of them
Why does Shakespeare construct Juliet`s lines so that she never directly lies?
un serbatoio d'acqua di forma cilindrica è riempito con acqua dolce fino a un livello di 6,40 m calcola la pressione dell'acqua alla profondità di 4,50 m e di 5
graph the inequality y<=-|x-4|. which point is NOT part of the solution?1. (1, -4) 2.(2, -2)3.(1, 1)4. 3, -1)
The most fundamental rights related to ownership in real estate are obtained from the u.s. constitution. eu or false
"The priest walked away slowly. Leon watched him climb the hill, and when he had disappeared within the tall, thick walls, Leon turned to look up at the high bl