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
Answer:
See explaination
Explanation:
Looking at telecommunications network, a link is a communication channel that connects two or more devices for the purpose of data transmission. The link is likely to be a dedicated physical link or a virtual circuit that uses one or more physical links or shares a physical link with other telecommunications links.
Please check attachment for further solution.
Answer:
Language is made up of syntactic norms and semantics since it is a resource which we use to develop computer programs and solve problems. The package, on the other hand, is a type of folder since it is a collections of linked and pre-defined classes. Furthermore, a package is designed for a certain set of tasks which has a limited computational capability. So, language has a set of rules and syntax for creating data encapsulation, whereas package has a chain of conditions for building menu action programs and applications.
Answer: Pulldown menus
Explanation:
Pulldown menus refer to the graphical control element, that is identical to a list box, which enables user to be bake to select one value from a list.
They're regarded as the menu of options that will appear when an item is selected with a mouse. In this case, the item that the user selected will show at the top of the display screen, while the menu appears will show below it.
Therefore, Alex should use the pulldown menus to hide the long list of hypertext links so that it appears only in response to a tap of a major heading in the navigation list.
N = 0
<span>1 read x </span>
<span>n = n + 1 </span>
<span>print x </span>
<span>If n > 1, go down to 2 </span>
<span>small = x </span>
<span>large = x </span>
<span>2 If x</= small, then small = x </span>
<span>If x>/= large, then large = x </span>
<span>If n < 12 , go back up to 1 </span>
<span>Print small </span>
<span>Print large </span>
<span>end</span>