{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

HW6 - e cout<<test(5 2 7.3 5 f cout<<two(17.5...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Lisa Marie Migliorisi Prof. Zelikovitz CSC 126 November 3, 2010 4.  a) pow(2.0, 5.2) b) sqrt(x+y) c) pow(u, v-3) d)(-b+sqrt(pow(b,2)-4*a*c)/(2*a) e) abs(x+2.5) 5.  iii. double func(double x, int y, string name) 8.   a) 4 b) 4n c) 10 4 0 d) 0 9.  a) Four parameters; int b) Two parameters; double c) Four parameters; char d) Four parameters; int, char, double, int
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: e) cout<<test(5, 2, 7.3, 5); f) cout<<two(17.5, 18.3); g) cout<<static_cast<char>(three(4, 3, ‘A’, 17.6)+1) 14. int func(int x, int y, int z) { If(pow(int x, int y)== int z) Return true; Else Return false; } 16. 12 35 14 8 10 18. 1 2 6 24 120...
View Full Document

{[ snackBarMessage ]}

Page1 / 2

HW6 - e cout<<test(5 2 7.3 5 f cout<<two(17.5...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon bookmark
Ask a homework question - tutors are online