subject
History, 26.11.2020 04:50 oct316mb

Will give Brainliestand 60 points for answer don't do it for free points 1.Explain how Python is related to flowcharts.

2.Consider this program:

Cost1 = input("Please enter the first expense: ")

Cost2 = input("Please enter the second expense: ")

print("Your total for both expenses was", Cost1 + Cost2)

If the user inputs “10” for the first expense and “20” for the second expense, what will the interpreter show in the final line when this program is run? If this result in not what the programmer intended, how would you explain what went wrong?

3.You are writing a line of code that should ask the user to input the balance of their 0bank account in dollars and cents. The program will then perform a multiplication problem to tell the user how much interest they can earn. Identify three errors in your line of input code and explain why they are incorrect. Include the corrected line of code in your answer. Here is the code:

1num = input(What is your balance?)

What are some kinds of comments that might be useful for a programmer to include in a program?

3.If you were planning how to write a program, at what point would a flowchart be helpful? At what point would pseudocode be helpful? Explain your reasoning.

ansver
Answers: 1

Another question on History

question
History, 22.06.2019 07:00
What kind of organizations are supported by economic interest groups? a. civil rights organizations b. professional organizations c. womens' rights organizations d. business and trade organizations
Answers: 1
question
History, 22.06.2019 09:40
How did women’s roles in the workforce change during world war i?
Answers: 1
question
History, 22.06.2019 10:00
Which of these is not a purpose of the constitution as explained in the preamble? • to make a better country • to keep states more powerful the the u.s. • to keep peace in the country • to protect freedom
Answers: 1
question
History, 22.06.2019 10:30
What did woodie guthrie do before becoming a singer and song writer?
Answers: 3
You know the right answer?
Will give Brainliestand 60 points for answer don't do it for free points 1.Explain how Python is re...
Questions
question
Biology, 25.04.2020 23:52
question
English, 25.04.2020 23:52
question
History, 25.04.2020 23:52
question
Mathematics, 25.04.2020 23:52
Questions on the website: 13722362