Which presenter would most likely benefit from a custom slide show?
a teacher who teaches four sessions of the same course
Answer:
see explaination
Explanation:
Function Real calcDiscountPrice(Real price, Real percentage) // Calculate the discount.
Declare Real discount= (price * percentage) / 100.0 // Subtract the discount from the price.
//dividing by 100.0 because of % concept
Declare Real discountPrice = price - discount // Return the discount price.
Return discount End Function
Answer:
The program in Python is as follows:
valCount = int(input())
reports = []
for i in range(valCount):
num = int(input())
reports.append(num)
for i in reports:
print(i,"reports.")
Explanation:
This gets input for valCount
valCount = int(input())
This creates an empty list
reports = []
This gets valCount integer from the user
<em>for i in range(valCount):</em>
<em> num = int(input())</em>
<em>Each input is appended to the report list</em>
<em> reports.append(num)</em>
This iterates through the report list
for i in reports:
This prints each element of the report list followed by "reports."
print(i,"reports.")
Answer / Explanation
The question seem not to be complete. It can be found in search engines.
Kindly find the complete question below.
Question
The UML models operations by listing the operation name followed by a set of ____. A plus sign (+) in front of the operation name indicates that the operation is a public one in the UML (i.e., a public method in Java).
Answer:
To properly answer this question, let us first define what a UML is:
UML can be defined as or is simply refereed to as Unified Modelling Language. It is considered as the standard for modeling language that enables designers and developers to specify, visualize, construct and document object or programs made by them in the areas of software systems, Thus, UML makes this objects developed by computer gurus secure and robust in execution.
If we now go back to the question asked while referencing the explanation given of what a UML is, the answer to the question is
parentheses.
However, if the original question being asked is valid, the answer to it would be : sign (+) in front of the operation name