Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package vetor;
- public class vetor {
- public static void main(String[] args) {
- double v[] = {3.5, 2.75, 9, -4.5};
- for (double valor : v){
- System.out.print(valor+ " ");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement