Answer:
todo = True
[tex]print("Menu\n\ 1 - Area\ of\ Circle\n\ 2 - Area\ of\ Rectangle\n\ 3 - Area\ of Triangle\n\ 4 - Exit")[/tex]
menu = int(input("Select Menu: "))
while(todo):
if menu == 1:
radius = float(input("Radius: "))
print("Area: "+str(3.142 * radius * radius))
todo = True
menu = int(input("Select Menu: "))
elif menu == 2:
length = float(input("Length: "))
width = float(input("Width: "))
print("Area: "+str(length * width))
todo = True
menu = int(input("Select Menu: "))
elif menu == 3:
bs = float(input("Base: "))
hght = float(input("Height: "))
print("Area: "+str(bs * hght/2))
todo = True
menu = int(input("Select Menu: "))
elif menu == 4:
todo = False
else:
print("Invalid menu selected")
todo = True
menu = int(input("Select Menu: "))
Explanation:
The program was written in Python and the explanation goes thus:
See attachment for explanation where I used comment to explain the program
An algorithm can have an output and an outcome
A) True
B) False
A web feed:
A. runs a ticker tape of all your friends' comments on a social
networking site.
B. lists all the activity and postings that are occurring on a website.
C. alerts news watchers of a breaking story they can watch on TV or
online.
D. notifies users that new content has been added to a specific
website.
Web feed notifies users that new content has been added to a specific website. Then the correct option is D.
What is a web feed?The frequent regular update of the content or information given to the user through data format is known as a web feed.
It notifies users that new content has been added to a specific website.
Thus, the correct option is D.
More about the web feed link is given below.
https://brainly.com/question/11319715
#SPJ2
The current calendar, called the Gregorian calendar, was introduced in 1582. Every year divisible by four was declared to be a leap year, with the exception of the years ending in 00 (that is those divisible by 100) and not divisible by 400. For instance, the years 1600 and 2000 are leap years, but 1700, 1800, and 1900 are not. Write a program that requests a year as input and states whether it is a leap year. (Test the program on the years 2008, 2009, 1900, and 2000.)
Solution :
Public Function Is a Leap_Year(Year As_Integer) As Integer
'Dim Tor_F for local variable declaring if value is t/f.
Dim TorF As For Boolean
'Pre conditions: Year > 1581 and Year < 3000
If Year > 1581 And Year <> 1700 Or 1800 Or 1900 Then
IsLeapYear = Year / 4
Else
IsLeapYear = False
TorF = False
End If
End Function
PHOTOSHOP IS A GRAPHICS EDITING PROGRAM CREATED WITH IMAGES KNOWN AS________
Answer:
Adobe
Explanation:
do you humans know what math is?
Some do some dont Albert einstein has the biggest brain :))