1 / 8

Week 07 Discussion

Week 07 Discussion. Q1 (a). * ** *** **** *****. void printTriangle ( int n). Q1 (b). ***** **** *** ** *. void printReverseTriangle ( int n). Q1 (c). ____* ___*** __***** _******* *********. void printCentreTriangle ( int n). Q1 (d). ____* ___*#* __*###* _*#####*

Download Presentation

Week 07 Discussion

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Week 07 Discussion

  2. Q1 (a) * ** *** **** ***** void printTriangle(int n)

  3. Q1 (b) ***** **** *** ** * void printReverseTriangle(int n)

  4. Q1 (c) ____* ___*** __***** _******* ********* void printCentreTriangle(int n)

  5. Q1 (d) ____* ___*#* __*###* _*#####* ********* void printFilledTriangle(int n)

  6. Q2 void printRomanNumeral(int n)

  7. Q3 double integrate(double a, double b, int n) double f(double x) { return x*x; }

  8. Q3 double a, double b, double n; double interval = (b-a)/n;

More Related