subject
Engineering, 13.11.2020 03:10 hsbhxsb

Will give Brainliestand 100 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: 2

Another question on Engineering

question
Engineering, 04.07.2019 12:10
On a average work day more than work place firs are reorted
Answers: 1
question
Engineering, 04.07.2019 18:10
Acompressor receives the shaft work to decrease the pressure of the fluid. a)- true b)- false
Answers: 3
question
Engineering, 04.07.2019 18:10
During a steady flow process, the change of energy with respect to time is zero. a)- true b)- false
Answers: 2
question
Engineering, 04.07.2019 18:10
Slip occurs via two partial dislocations because of (a) the shorter path of the partial dislocation lines; (b) the lower energy state through partial dislocations; (c) the charge balance.
Answers: 1
You know the right answer?
Will give Brainliestand 100 points for answer don't do it for free points 1.Explain how Python is r...
Questions
question
Computers and Technology, 13.11.2019 22:31