How JustAnswer Works:
  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.
Ask LogicPro Your Own Question
LogicPro
LogicPro, Engineer
Category: Homework
Satisfied Customers: 12867
Experience:  Expert in Java C++ C C# VB Javascript Design SQL HTML
29751445
Type Your Homework Question Here...
LogicPro is online now
A new question is answered every 9 seconds

Project #3 - Executable ScriptThis project is worth 20 percent

This answer was rated:

Project #3 - Executable Script
This project is worth 20 percent (20 pts) of the final course grade.
Your programming project will be a simple, working program, using a scripting language of your choice, which utilizes a good design process and includes:
• Sequential, selection, and repetitive programming statements as well as,
• At least one function call.
You will design (based on your pseudo code in your Project 1), create, debug and execute the program.
Documentation within the program should include:
• Your Name
• Course
• Program Name
• Due Date
• Programming Language
• Purpose
Additionally add in comments to the code to describe what is happening
Example:

##############################################################
# Author:
# Class: CMST 290, Spring 2013 OL4
# SL:
#
# Program:
# XXXXX Date:
#
# XXXXX: Python 3
# To Run:
#
# XXXXX:
#
##############################################################

• Your program must be submitted as an executable file. If you write the program in Python, you will be submitting Python(.py) file. If you are using, other programming/scripting language, you need to submit executable file accordingly (.js for Javascript, .cfml for Coldusion, etc..). It must be named as:FirstName_LastName_Project3.py (for Python). Example: Joe_Smith_Project3.py
• Please submit the final program to your Assignment folder.
Hi,
Welcome to JustAnswer.
My name is XXXXX XXXXX I will help you.
What is the deadline?
Customer: replied 3 years ago.

The deadline is this Sunday June 30th at 10pm.

Please provide the pseudocode
Also let me know if you need program in Python, Java or javascript
Customer: replied 3 years ago.

I need the code in Python please


 


Pseudo code:



  1. Start

    1. Declare choice as integer

    2. Declare num1, num2,result as number

    3. Display “WELCOME TO THE CALCULATOR PROGRAM”

    4. Display “1. Addition”

    5. Display “2. Subtraction”

    6. Display “3. Multiplication”

    7. Display “4. Division”

    8. Display “5. Miles to Kilometer”

    9. Display “0. Exit”

    10. Display “Enter your choice:”

    11. Input choice

    12. Loop while choice!=0



i. If choice=1 then



  1. Input num1

  2. Input num2

  3. Set result = num1+num2

  4. Display “Addition = ”,result


ii. Else if choice=2 then



  1. Input num1

  2. Input num2

  3. Set result = num1-num2

  4. Display “Subtraction = ”,result


iii. Else if choice=3 then



  1. Input num1

  2. Input num2

  3. Set result = num1*num2

  4. Display “Multiplication = ”,result


iv. Else if choice=4 then



  1. Input num1

  2. Input num2

  3. Set result = num1/num2

  4. Display “Division = ”,result


v. Else if choice=5 then



  1. Input num1

  2. Set result = num1 * 1.609344

  3. Display “Kilometers = ”, result


vi. End if


vii. Display “1. Addition”


viii. Display “2. Subtraction”


ix. Display “3. Multiplication”


x. Display “4. Division”


xi. Display “5. Miles to Kilometer”


xii. Display “0. Exit”


xiii. Display “Enter your choice:”


xiv. Input choice



  1. End loop

  2. End

thanks
Customer: replied 3 years ago.

I hope everything is going well.

yes. Please check back in few hours
THIS ANSWER IS LOCKED!

You need to spend $3 to view this post. Add Funds to your account and buy credits.
LogicPro and 3 other Homework Specialists are ready to help you

Related Homework Questions