ComputerScienceExpert

(11)

$18/per page/

About ComputerScienceExpert

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

Expertise:
Applied Sciences,Calculus See all
Applied Sciences,Calculus,Chemistry,Computer Science,Environmental science,Information Systems,Science Hide all
Teaching Since: Apr 2017
Last Sign in: 103 Weeks Ago, 4 Days Ago
Questions Answered: 4870
Tutorials Posted: 4863

Education

  • MBA IT, Mater in Science and Technology
    Devry
    Jul-1996 - Jul-2000

Experience

  • Professor
    Devry University
    Mar-2010 - Oct-2016

Category > Programming Posted 26 May 2017 My Price 8.00

Design a class called SimpleCalculator using psudoecode

must be in visual basic pseudocode and pdf format

 

Design a class called SimpleCalculator using psudoecode that contains public methodsnamed add(), subtract(). Each of the methods accepts two numeric argumentsand returns a number that represents the result of the appropriate arithmetic operation.Design a sub-class of SimpleCalculator called Calculator using psudoecode thatcontains public methods named multiply(), and divide() and that defines private fieldscalled num1 and num2. Each of the methods accepts two numeric arguments andreturns a number that represents the result of the appropriate arethmetic operation.Design a two-arg constructor Calculator() that sets the two values num1 and num2.Design a main() method that prompts the user for two numbers and reads them in.Then creates an instance of the Calculator class setting the input values via theCalculator constructor. The main() method then tries each of the four arithmeticmethods. Assume that an DivideByZero is created and thrown if the user attempts todivide by 0. Display an appropriate message when an exception is caught. If noexception, display the results from each arithmetic method call.

How your answer will be gradedFile turned in is in PDF format 5.00%SimpleCalculator class is correctly declared 5.00%SimpleCalculator class contains correct arthmetic methodsr 10.00%Calculator class contains a two arg constructor 10.00%Calculator class is correctly declared 20.00%Calculator class contains correct arthmetic methods 20.00%Calculator main() method is correct including exception handling 30.00%

Answers

(11)
Status NEW Posted 26 May 2017 02:05 AM My Price 8.00

-----------

Not Rated(0)