Ch04_Questions

Ch04_Questions - C# Programming: From Problem Analysis to...

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

View Full Document Right Arrow Icon
1. d. methods 2. d void 3. a. private 4. d. PrintReport 5. b. answer = Math.Floor(87.2); 6. c. public int DetermineAnswer(double, int) 7. a. back to the location in the calling method that made the call 8. c. void DetermineHighestScore(double val1, double val2) 9. e. SetNoOfSquareYards(double) 10. a. private member data 11. b. public Employee( ) 12. d. accessor 13. e. Name 14. a. Employee employee1 = new Employee( ); 15. b. public void SetGpa(double gpaValue) C# Programming: From Problem Analysis to Program Design , 2nd edition ISBN 1423901460 Chapter 4 Doyle: C#, 2nd edition ISBN 1423901460 Page 1-1
Background image of page 1

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

View Full DocumentRight Arrow Icon
16. a. heading: public void InputValues( out int val1, out int val2) call: InputValues( out val1, out val2); 17. a. const 18. e. private…public 19. a. static double determineGrade( int grade1, int grade2, int grade3) 20. d. public static void displayResults( double taxAmount, double totalSales ) 21. a. 2, 2, 0 b. int, void, int c. int answer = GardenTool.determineResult(value1, value2); GardenTool.displayResult(value1, value2);
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 06/24/2011 for the course CIS 170 taught by Professor Michaelfreeman during the Spring '10 term at DeVry Chicago.

Page1 / 7

Ch04_Questions - C# Programming: From Problem Analysis to...

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

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