There were
balls but we took
balls out, so there are now
balls. We add
balls and now we have
balls.
The program that computes this (I will use python as language has not been specified is the following):
n, a, b = int(input()), int(input()), int(input())
print(f"There are {n-a+b} balls in the box")
# Hope this helps
D that is the answer but I need 20 words to send this text
Answer:
The function in C++ is as follows:
int isSorted(int ar[], int n){
if (
||
){
return 1;}
if (
<
){
return 0;}
return isSorted(ar, n - 1);}
Explanation:
This defines the function
int isSorted(int ar[], int n){
This represents the base case; n = 1 or 0 will return 1 (i.e. the array is sorted)
if (
||
){
return 1;}
This checks if the current element is less than the previous array element; If yes, the array is not sorted
if (
<
){
return 0;}
This calls the function, recursively
return isSorted(ar, n - 1);
}
Answer:
B. report
Explanation:
Report is used to show the result of data base quires or stored data contain useful data use in decision making and analysis.
It is also called a report generator, it is a part of database management system that is used to extract information from one or more files and present it in specific format.