Answer:
To access a digital library, you will need a computer and Internet access.
Explanation:
Answer:
#program in python.
#variables
slice_area=14.125
pi=3.14159
#read diameter
d=int(input("Enter diameter of pizza:"))
#area of pizza
area=pi*(d/2)*(d/2)
#number of slice
no_slice=int(area/slice_area)
#print slice
print("total silce are:",no_slice)
Explanation:
Declare and initialize a variable "slice_area" with 14.125 which is the area of a pizza slice.Initialize a variable "pi" with 3.14159.Then read the diameter of pizza.Find the area of pizza as "area=pi *d/2*d/2".Divide the total area with area of pizza slice.This will be the number of slice.
Output:
Enter diameter of pizza:20
total silce are: 22
Did they give you any Answer options
Answer and Explanation:
<u>Stored Procedure</u> : It is an object that is pre-compiled. It seems to be the initially compile as well as those files are saved. It executes that compilation file while this has been called.
<u>Functions </u>: Through, when the function is called it is compiled as well as executed.
<u>The differences between the both is that</u> -
- Stored Procedure return null, singular, or various values while Function only return one value at a time.
- Transactions cannot used in the function but it can be used in stored procedure.
- Functions may be named from such a stored procedure, but still not likewise.
- Stored procedures may have an input or output arguments, but the function still contain arguments for input.
- With the Academic Database situation, this is useful to use saved protocol anytime you choose to update / delete a participant, course, teachers, etc. Stored procedures are useful where the information or tables layout is to be altered.