The first and the most important advantage is that it
supports a simple data structure, mainly tables. Familiar to many users, the
table structure is an intuitive organization. Another main advantage of a
relational database as compared to others is better security. Once data are split into tables, certain
tables can be made confidential.
Answer:
flight stimulators are used to train astronaut and design simple air craft
Answer:
The program in C++ is as follows:
#include <iostream>
using namespace std;
void display(int array_test [], int n){
for(int i = 0; i<n;i++){
cout<<array_test[i]<<" "; }
}
int main(){
int n;
cin>>n;
int array_test[n];
for(int i = 0; i<n;i++){
cin>>array_test[i];
}
display(array_test,n);
return 0;
}
Explanation:
This defines the display function
void display(int array_test [], int n){
This iterates through the array
for(int i = 0; i<n;i++){
This prints each element of the array
cout<<array_test[i]<<" "; }
}
The main begins here
int main(){
This declares n as integer; n represents the length of the array
int n;
This gets input for n
cin>>n;
This declares the array
int array_test[n];
The following iteration gets input for the array
for(int i = 0; i<n;i++){
cin>>array_test[i];
}
This calls the display function to display the elements of the array
display(array_test,n);
return 0;
}
<h2>Start</h2>
The rectangle shape in flowchart is used to capture process steps like basic tasks or actions in your process.