Presentation is loading. Please wait.

Presentation is loading. Please wait.

CS 240 – Computer Programming I Lab Kalpa Gunaratna –

Similar presentations


Presentation on theme: "CS 240 – Computer Programming I Lab Kalpa Gunaratna –"— Presentation transcript:

1 CS 240 – Computer Programming I Lab Kalpa Gunaratna – kalpa@knoesis.orgkalpa@knoesis.org http://knoesis.wright.edu/researchers/kalpa/

2 Contact  Contact by e-mail  kalpa@knoesis.org kalpa@knoesis.org  Office hours  376 Joshi  Mondays & Wednesday 3:00 pm – 4:00 pm

3 In lab  Read from keyboard a character.  While loop to continue loop until the range is satisfied.  for loop can also be used.  Use Math package to square numbers.  Use documentations and JavaDocs.  Input – case insensitive

4 Post lab  Isoscele triangle – at least two sides are equal.  Should work for only required shapes – incorrect input should be handled.  Printing traingles – use previous lab's triangle shape and try changing it.  For triangles, entered number should be the number of rows.

5 Reminders  Submit net beans projects to WebCT (marks will be deducted if not hereafter).  Put your JavaDoc in proper position.  Use comments where necessary.  Indent your code and format.  Remove unnecessary code fragments.


Download ppt "CS 240 – Computer Programming I Lab Kalpa Gunaratna –"

Similar presentations


Ads by Google