SophiaPretty

(5)

$14/per page/Negotiable

About SophiaPretty

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Accounting,Algebra See all
Accounting,Algebra,Applied Sciences,Architecture and Design,Art & Design,Biology,Business & Finance,Calculus,Chemistry,Communications,Computer Science,Economics,Engineering,English,Environmental science,Essay writing Hide all
Teaching Since: Jul 2017
Last Sign in: 313 Weeks Ago, 6 Days Ago
Questions Answered: 15833
Tutorials Posted: 15827

Education

  • MBA,PHD, Juris Doctor
    Strayer,Devery,Harvard University
    Mar-1995 - Mar-2002

Experience

  • Manager Planning
    WalMart
    Mar-2001 - Feb-2009

Category > Computer Science Posted 15 Nov 2017 My Price 10.00

javascript from principles of program design problem solving

I am having problems with my javascript from principles of program design problem solving with javascript hands on activity 8-2. My teacher is not letting me know what they problem is. He does not do we// Program name: Numbers Functions
// Purpose: Performs four arithmetic operations on two numbers
// Author: Courtney Credle
// Date last modified: 08-July-2017

Start
   // Declare variables
   Declare Numeric(num1, num2)    // two numbers entered by user
   Declare Numeric sum        // sum of two numbers
   Declare Numeric pro        // product of two numbers
   Declare Numeric quotient    // result of dividing two numbers
   Declare Numeric Modulus    // result of modulus two numbers

   // Display program heading. ask for two numbers
   Display "This program performs arithmetic operations on the two numbers you enter."
   Display "Please enter the first number:"
   Input num1
   Display "Please enter the second number: "
   Input num2

   // Call the four modules, display the results
   sum = additional(num1,num2)
   Display "The sum of the two numbers is: " + sum
   pro = multiplication (num1,num2)
   Display "The product of the two numbers is: " + prod
   quotient = division(num1,num2)
   Display "The quotient of the two numbers is: " + quotient
   mod = modulas(num1,num2)
   Display "The modulus of the two number is: " + mod
Stop

Function Numeric addition(Numeric n1, Numeric n2)
   // Declare variables
   Declare Numeric result
   result = n1 + n2
   Return result
End Function

Function Numeric multiplication(Numeric n1, Numeric n2)
   // Declare variables
   Declare Numeric result
   result = n1 * n2
   Return result
End Function

Function Numberic division(Numeric n1, Numeric n2)
   // Declare variables
   Declare Numeric result
   result = n1 / n2
   Return result
End Function

Function Numeric modulus(Numeric n1, Numeric n2)
   // Declare variables
   result = n1 % n2
   Return result
End Function

   // Thank the user and end program
   Display" Thank you!"
 
   ll with explaining where things go wrong. Attached is my code please help

Attachments:

Answers

(5)
Status NEW Posted 15 Nov 2017 01:11 PM My Price 10.00

-----------  ----------- H-----------ell-----------o S-----------ir/-----------Mad-----------am ----------- Th-----------ank----------- yo-----------u f-----------or -----------you-----------r i-----------nte-----------res-----------t a-----------nd -----------buy-----------ing----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n. -----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be----------- qu-----------ick-----------ly

Not Rated(0)