Answer:
45, 55, and 85
Explanation:
The Java program is complete and logically correct. It creates and adds integer values to an array list. The 'System.out.print' function of the track array variable would not throw any error but output the list of integer values.
backstage view
keep it private
Written in C++
#include <iostream>
using namespace std;
int main()
{
int n;
while(true)
cin>>n;
if(n>=0)
continue;
break;
}
return 0;