Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package ovning11_1;
- /**
- *
- * @author jespergillfjard
- */
- public class Ovning11_1 {
- public static void main(String[] args) {
- double[] falt1 = { 0, 0, 0, 0 };
- int[] falt2 = { 5, 10, 20, 50 ,100, 200, 500 };
- for (double y : falt1 ) {
- System.out.print(" " + y);
- }
- System.out.println("\n");
- for ( int x : falt2 ) {
- System.out.print(" " + x);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement