Maurice Tutor

(5)

$15/per page/Negotiable

About Maurice Tutor

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

Expertise:
Algebra,Applied Sciences See all
Algebra,Applied Sciences,Biology,Calculus,Chemistry,Economics,English,Essay writing,Geography,Geology,Health & Medical,Physics,Science Hide all
Teaching Since: May 2017
Last Sign in: 408 Weeks Ago, 1 Day Ago
Questions Answered: 66690
Tutorials Posted: 66688

Education

  • MCS,PHD
    Argosy University/ Phoniex University/
    Nov-2005 - Oct-2011

Experience

  • Professor
    Phoniex University
    Oct-2001 - Nov-2016

Category > Management Posted 30 Jan 2018 My Price 6.00

nonzero number

Consider the following program:

#include <iostream>

#include <cmath>

#include <iomanip>

using namespace std;

void traceMe(double x, double y);

int main()

{

double one, two;

cout << "Enter two numbers: ";

cin >> one >> two;

cout << endl;

traceMe(one, two);

traceMe(two, one);

return 0;

}

void traceMe(double x, double y)

{

double z;

if (x != 0)

z = sqrt(y) / x;

else

{

cout << "Enter a nonzero number: ";

cin >> x;

cout << endl;

z = floor(pow(y, x));

}

cout << fixed << showpoint << setprecision(2);

cout << x << ", " << y << ", " << z << endl;

}

a. What is the output if the input is 3 625?

b. What is the output if the input is 24 1024?

c. What is the output if the input is 0 196?

Answers

(5)
Status NEW Posted 30 Jan 2018 11:01 PM My Price 6.00

Hel-----------lo -----------Sir-----------/Ma-----------dam-----------Tha-----------nk -----------You----------- fo-----------r u-----------sin-----------g o-----------ur -----------web-----------sit-----------e a-----------nd -----------acq-----------uis-----------iti-----------on -----------of -----------my -----------pos-----------ted----------- so-----------lut-----------ion-----------.Pl-----------eas-----------e p-----------ing----------- me----------- on-----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be-----------

Not Rated(0)
Relevent Questions