Answer:
Complete the main method as follows:
int num;
cin>>num;
int i = 0;
while(num!=0){
array[i] = num;
cin>>num;
i++;
}
Complete the printArray function as follows:
void printArray(int array[]){
int i =0;
while(array[i]!=0){
cout<<array[i]<<" ";
i++;
}}
Explanation:
<u>Main method</u>
This declares a variable that gets input from the user
int num;
This gets input from the user
cin>>num;
This initializes a count variable to 0. It represents the index of the current array element
int i = 0;
while(num!=0){
This inserts the inputted number to the array
array[i] = num;
This gets another input
cin>>num;
The counter is incremented by 1
i++;
}
The above loop is repeated until the users enters 0
<u>printArray method</u>
This declares the array
void printArray(int array[]){
This initializes a counter variable to 0
int i =0;
This is repeated until array element is 0
while(array[i]!=0){
Print array element
cout<<array[i]<<" ";
Increase counter by 1
i++;
}}
<em>See attachment for complete program</em>
Answer: The Boston Tea party was when American colonists dumped tea into the Boston Harbor because they were mad at the British for taxing their tea.
Explanation: This started the Revolutionary War because it was the first big act of wanting a revolution from the American colonists.
Answer: binary
Explanation:
Conceptual design refers to the early phase of the design process, whereby the outlines of function are articulated. The conceptual design consist of the design of processes, interactions, and strategies. It is the first stage in the database design process.
The output of the conceptual design process describes the main data entities, and constraints of a particular problem domain. To simplify the conceptual design, most higher-order relationships are decomposed into appropriate equivalent binary relationships whenever possible.
Answer:
Your Social security number .
Explanation:
- Personal information is the information of. a person.
- It includes The name,Address,number etc of the person .
- the PAN,Debit and credit card number is also included .