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

Tyreek pitches four investors. They agree to each invest $25,000 and value Tyreek's company at 200,000. How much of the company will Tyreek still own after the
Do you think that we should have unlimited rights in the United States? Explain why or why not? What do you think our society would look like if we did? (one pa
ahhhhhhhhhhhhhhh why why why please help
Someone please help and PLEASE make sure it’s right! Thank you!!! :)
The strikes that were taking place in America were often seen as a sign of a Communist Revolution in the United States. False True
Victoria _____ morena A. Es B. Esta
1over 4 power negative 5
what is the algebraic expression of 1 less than the quotient of 7 and a number x
What kind of intermolecular forces act between a hydrogen cyanide (HCN) molecule and a carbon monoxide molecule?
Question: How is wind speed and direction related to air temperature? 1. Think about it Imagine a pocket of air over the land ("land air"), and another pocket