Skip to content

The purpose of the exercises is to provide skills practice through the use of the Java language.

Notifications You must be signed in to change notification settings

gustavorods/2023_2_b3_etec_vector_java_exercises

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Java logo

Java Exercises Using Vector

The purpose of the exercises is to provide an opportunity to practice skills using the Java language.


Announcements of the exercises and their names in the file:

  • Exercise 1 / exe1: Write a program that reads a vector of 15 integers and displays at the end only the numbers that are stored in the even positions (indexes) of the vector.

  • Exercise 2 / exe2: Write a program that reads 10 integers from the keyboard and stores them in an array. At the end, print the vector with the stored values.

  • Exercise 3 / exe3: Read a vector of 10 elements. Create a second vector, with all elements in reverse order, that is, the last element will become the first, the penultimate will be the second and so on. Print both vectors.

About

The purpose of the exercises is to provide skills practice through the use of the Java language.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages