
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

( Due on Thursday, 9/4/2003 ) Write a Java program that prints out your first name enclosed in “+” signs, which would take 3 lines on output. Then on the next line (the 4th^ line), print out the last 4 digits of your student number (treated as an integer, with leading zero’s omitted) divided by your birth date of the month. The result needs to be a real number. For example, the output for a student named “Rosemary”, with student number “123-45-0111” and birth date on the 26th^ day of the month, would look like: ++++++++++ +Rosemary+ ++++++++++ 111 / 26 = 4. Your program should have exactly the same format, only with information specific to you. You should only turn in a hardcopy of your Java program, that is, just print out the Java program you have written. On your hardcopy, write down : Your name Your student number Assignment number Instructor’s name (Chengcui Zhang).