You didn't specify what the program should output, so there are many possibilities that result in a working program. It *looks* like this was intended:
int x = 24;
int y;
y = x-12;
cout<<y<<endl;
and it will display 12.
It was not. Movies then talking movies were before television.
Meters * 1,000,000,000 = gigameters
Answer:
Answered below
Explanation:
//Program is written in Java.
public void first three elements(int[] nums){
int I;
//Check if array has up to three elements
if(nums.length > 3){
for(I = 0; I < nums.length; I++){
while (I < 3){
System.out.println(nums [I]);
}
}
else{
System.out.print("Array does not contain up to three elements");
}
}
}