01:198:111 Lecture 3: Rec+3
![01:198:111 Full Course Notes](https://new-docs-thumbs.oneclass.com/doc_thumbnails/list_view/2249115-class-notes-us-rutgers-01-198-111-lecture20.jpg)
47
01:198:111 Full Course Notes
Verified Note
47 documents
Document Summary
Why? int a=5; int b; double c=5. 42; double d; (1) b=a; (2) d=a; (3) d=c; b=c; (4) b=(int)c; (5) For this exercise (and most future ones), you will need io. java to be in the same folder as your own java file. Write a program that askes a user for his name and age and output weather or not they can vote. Exercise 3: library calls drawing with calls to picasso class. For this exercise we will use a module called picasso that supplies the following methods to draw lines and circles on the screen. The module keeps track of the current position on the screen of the pen that is used to draw, which starts out at the upper left-hand corner: write a program that draws a smiley face. The size of the smiley face should be an input from the user: as a group come up with a picture to draw and draw it. drawcircle( int diameter )