Answer:
D. called
Explanation:
A function is executed when it is called.
Function definition comprises of the code body of the function.For example:
int add(int a, int b){
return a+b;
}
Function declaration or function prototype specifies the signature of the function ( number and type of arguments, return type). e.g,
int add(int a,int b);
Function call is when the function is executed with actual arguments:
add(2,4);
This will return 6 upon execution of function body.
Answer:
Please find the code in the attached file.
Output:
Please find the attached file.
Explanation:
In this code a "num" variable is declared that use while loop that check num value greater than equal to 0.
Inside the loop we input the "num" value from the user-end and use if the value is positive it will define a for loop that calculates the quotient value as integer part, and use the asterisks to print the value.
If input value is negative it print a message that is "Goodbye".
Please find the code link: https://onlinegdb.com/7MN5dYPch2
Answer:
A.) Cup, Pint, Quart, Gallon
Explanation:
Yes, and no, social network can distract a student like YouTube or face book, while it can be used as a tool for studying and to put your google documents in the cloud. plus if a teacher posts homework on his/her website, and you happen to forget the paper bringing it home, you can just simply print it instead of having to explain to the teacher