Variables, if/then/else, loops | ENTD 200 | American Military University

Category: Computer Science

Instructions:

You will complete this assignment in Python 3.x. Make sure you have downloaded the software and it is installed correctly. You will download it from this site

You will code the following and submit it in one file. Use the information in the Content area for this week to assist you. Save it as a python file (.py), and upload it into the Assignments area.

1. Include comment block on line1 of your code with the following information:

“”

“””

Your Name

Course Name, Section (example: ENTD200 B002 Spr18)

Instructor name

Week #

Date completed

“””

2. Create 2 Python programs based on week 5 Assignment flowcharts and requirements. You must use loops, do not use function calls.

 

Here is a SAMPLE run for a simple calculator to add to numbers (this is for reference only)

Simple Calculator

What is your name –> Supa

Enter first number –> 7

Enter second number –> 5

Supa, The total of 7.0 + 5.0 = 12.0

Do you want another calculation ? (y/n) y

What is your name –> Lupa

Enter first number –> 21

Enter second number –> 11

Lupa, The total of 21.0 + 11.0 = 32.0

Do you want another calculation ? (y/n) n

Thanks for using my calculator

                                     Assessment Rubric:

A.Create a comment block with the following information:

Your Name

Course Name, Section (example: ENTD200 B002 Spr19)

Instructor name

Week #

Date completed

B.  Write a program that will calculate the problem using a loop and stop after the condition has been met. 

C.  Print (print function with label). 

Calculate the price of your order

You will get a personal manager and a discount.
We'll send you the first draft for approval by at
Total price:
$0.00
Pay Someone To Write Essay