Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class ZahlenUmdrehen {
- static int[] zahlen = {10, 4, 6, 7, 3, 5, 1};
- public static void main(String[] args) {
- ausgabeZahlenfolge();
- }
- private static void ausgabeZahlenfolge() {
- for(int i = zahlen.length - 1; i >= 0; i--) {
- System.out.println(zahlen[i]);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement