Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package koncentrat;
- public class Koncentrat {
- public static void main(String[] args) {
- int[] pole=new int[20];
- PlnPole(pole);
- VypisPole(pole);
- }
- static void PlnPole(int[] pole){
- for (int i=0;i<pole.length;i++){
- pole[i]=1;
- }
- }
- static void VypisPole(int[] x){
- for(int i=0;i<x.length;i++){
- System.out.print(x[i]+" ");
- }
- System.out.println("");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement