I an not sure what you want me to do so I am going to help you on both of these problems:
Question 2 answer: I think the answer is University/industry interaction
Question #3 answer: I think the answer for this is clearly written in the question (i think that the second answer choice is it)
I am not sure what this is but i am only in the 10th grade!!!! the only class that I took last year was Computer Fundumentals
Btw I am in K12 as well :)
The answer would be d, none kf the above.
The nursing usually takes up to 18 months, i.e. one year and a half.
The baby dolphin may however remain with his mum for up to 3-6 years.
A distributed computer system consists of multiple software components that are on multiple computers, but run as a single system. The computers that are in a distributed system can be physically close together and connected by a local network, or they can be geographically distant and connected by a wide area network.
Answer:
#include <iostream>
using namespace std;
int * reverse(int a[],int n)//function to reverse the array.
{
int i;
for(i=0;i<n/2;i++)
{
int temp=a[i];
a[i]=a[n-i-1];
a[n-i-1]=temp;
}
return a;//return pointer to the array.
}
int main() {
int array[50],* arr,N;//declaring three variables.
cin>>N;//taking input of size..
if(N>50||N<0)//if size greater than 50 or less than 0 then terminating the program..
return 0;
for(int i=0;i<N;i++)
{
cin>>array[i];//prompting array elements..
}
arr=reverse(array,N);//function call.
for(int i=0;i<N;i++)
cout<<arr[i]<<endl;//printing reversed array..
cout<<endl;
return 0;
}
Output:-
5
4 5 6 7 8
8
7
6
5
4
Explanation:
I have created a function reverse which reverses the array and returns pointer to an array.I have also considered edge cases where the function terminates if the value of the N(size) is greater than 50 or less than 0.