import java.util.Scanner;
public class PrintPositives {
public static void main(String[] args) {
System.out.println("Enter size of array ");
Scanner input = new Scanner(System.in);
int arr = input.nextInt();
int[] numbers = new int[arr];
for (int i = 0; i < numbers.length; i++) {
System.out.println("Please enter number");
numbers[i] = input.nextInt();
}
System.out.println("positive numbers");
for (int i = 0; i < numbers.length; i++) {
if (numbers[i]>=0){
System.out.println("positive" + "-" + numbers[i]);
}
}
}
}
public class NumPositives {
public static void main(String[] args) {
double a[] = {-4,5,7,-9};
System.out.println("positive numbers");
for (int i = 0; i < a.length; i++) {
if (a[i]>=0){
System.out.println("positive" + "-" + a[i]);
}
}
}
}