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

Other questions on the subject: History

image
History, 21.06.2019 18:30, NavyCo
Transitioning countries must take into account the costs of capitalism, because they will experience its as the great depression's and they experience its benefits.
Answers: 3
image
History, 22.06.2019 05:00, jothianddeepi
The major impact third parties have on presidential elections has been to.. a. encourage larger vote turnout b. recruiter leader from the democratic and republican party to run for president c. generate increased party identification among the electorate d. developing issues that are later adopted by the major political parties e. drawn off of votes from the major parties to throw election into the house representatives
Answers: 2
image
History, 22.06.2019 06:30, solobiancaa
Plz which of the following countries did not claim the oregon country in the early 1800s. a. russia. b. britain. c. the united states d. france.
Answers: 1
image
History, 22.06.2019 07:30, exoticbunnylover123
What was a challenge for president truman’s political agenda in 1950
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 in other subjects:

Konu
English, 01.01.2020 09:31
Konu
Mathematics, 01.01.2020 09:31