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 19 Nov 2017 My Price 10.00

Kyungjae Lee (just call me KJ) KyungJae.Lee@kpu.

help to create coding using c++ with functions ...deadline should be taken in notice

 

Instructor Kyungjae Lee (just call me KJ) KyungJae.Lee@kpu.ca INFO 1112 Principles of Program Structure and Design Lab 6 3-2 Lab Activity 6.1 Implement Function block • Practice the way to declare a function, define it, and calling it inside main(). The following code demonstrates to find out the maximum between two numbers. Implement this code to evaluate whether two numbers are the same or not. Your output should look similar to the following. Save it as compare61_yourLastnameIniti al.cpp. 1. Rather than writing all code inside one function block main(), separate your program into two separate functions to compute the both the distance() and the slope() of line between two points. Your two functions will be called inside main( ) which accepts four floating numbers : x1, y1, x2, y2 (two points in x-y coordinates) as well as display the result showing the distance, slope, and whether the line is vertical, horizontal, or not. 2. Import appropriate C++ math library as well as your output should display the result with two decimal places. 3. Save this file as distanceSlope62_yourLastnameInitial.cpp Lab Activity 6.2 Distance & Slope through Functions (extension of Lab 3.3) http://www.purplemath.com/modules/distform.htm http://www.purplemath.com/modules/slope.htm Lab Exercise 6.3 Function-based Calculator • Write 6 functions to operate basic arithmetic of two numbers such as 1. Addition (+) // add(4,5) 2. Subtraction (-) 3. Multiplication (*) 4. Division (/) 5. Remainder (%) 6. Your own formula (combination of basic arithmetic; point system in different games) • Save as ‘‘calculator63_yourLastnameInitial.cpp’

Attachments:

Answers

(5)
Status NEW Posted 19 Nov 2017 07:11 AM 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)