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, 21.06.2019 14:00
Brainliesttt ( look at the image attached) according to the map, yugoslavia was no longer aligned with the soviet union after 1948 was a satellite nation of the united states after 1948 became a part of the soviet union in 1948 was never a part of the eastern bloc
Answers: 1
question
History, 21.06.2019 20:00
What was one of the difficulties adams faced as president? a. european countries were trying to move back in on u.s. lands b. possible war with england; fighting between political parties c. problems with spain; trade disputes with russia d. census issues; problems with selecting a new capital
Answers: 2
question
History, 22.06.2019 01:30
Me i really need which of these was an accomplishment of the han dynasty? the invention of the seismograph finding a water passage to europe the invention of the ballpoint pen the invention of the abacus
Answers: 1
question
History, 22.06.2019 02:00
Abody of water that is surrounded by land on three sides and leads to a larger body of water is called
Answers: 1
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
Social Studies, 01.04.2020 21:20
question
Mathematics, 01.04.2020 21:20
Questions on the website: 13722363