General Summary: This simple exercise is meant to verify that you’ve properly installed Java SE and an IDE on your computer so that you are ready for the later programming assignments in this course. Assignment Description: Type the following program source code into your jGRASP (or other) IDE. The source code is patterned after a similar example that was taken from Joyce Farrell’s textbook, Java Programming. Modify the comments for your name and the current date, and change the class file name to reflect your first name. Then compile your code. Remember: If you get compile errors when you do the compile, fix the errors one at a time and then recompile the program. Because the compiler may get confused by the first error, very often, by fixing the first error, many of the remaining errors will go away since they may not really be errors at all. /** * Program #1 * * Function: Simple Java application to demonstrate the behavior of different data types, * arithmetic, concatenation, and output of results. * * Programmed By: Reggie Haseltine, instructor (November 13, 2015) * * Based upon code Taken From: “Java Programming” by Joyce Farrell * */ public class Program1_Reggie { public static void main(String[] args) { int xx = 315; short xx = 23; long xx = 1234567876543L; int value1 = 43, value2 = 10, sum, difference, product, quotient, modulus; boolean isProgrammingFun = true; double doubNum1 = 2.3, doubNum2 = 14.8, doubResult; char myGrade = ‘A’, myFriendsGrade = ‘C’; System.out.println(“Our grades are ” + myGrade + ” and ” + myFriendsGrade); doubResult = doubNum1 + doubNum2; System.out.println(“The sum of the doubles is ” + doubResult); doubResult = doubNum1 * doubNum2; System.out.println(“The product of the doubles is ” + doubResult); System.out.println(“The value of isProgrammingFun is ” + isProgrammingFun); System.out.println(“The value of isProgrammingHard is ” + isProgrammingFun); System.out.println(“The int is ” + oneInt); System.out.println(“The short is ” + oneShort); System.out.println(“The long is ” + oneLong); sum = value1 + value2; difference = value1 – value2; product = value1 * value2; quotient = value1 / value2; modulus = value1 % value2; System.out.println(“Sum is ” + sum); System.out.println(“Difference is ” + difference); System.out.println(“Product is ” + product); System.out.println(“Quotient is ” + quotient); System.out.println(“Modulus is ” + modulus); System.out.println(“nThis is on one linenThis on another”); System.out.println(“This showsthowttabstwork”); // end method main // end class Program1_Reggie Deliverables: Put everything in a single Word or PDF file, number your steps, and keep the steps in order. At the top of your Word or PDF file include the course, the program number, your name, and the date completed. Also, include this information in the source code program header of your modified source code file. Include additional comments as necessary in your source code, and maintain consistent indentation for good programming style, as shown and discussed in our text. Submit only your modified source code and final output. Do not submit the original supplied source code. Include the following three items in your file, number them, and put them in this order: A screen snapshot of a portion of your Java source code in your IDE for each class of your program The complete source code listings for all of your Java classes Screen snapshots of your complete program output
Posted on by admin
General Summary This simple exercise is meant to verify that you’ve properly installed Java SE and an IDE on your computer so that you are ready for the later programming assignments in this course. Assignment Description
WHAT OUR CURRENT CUSTOMERS SAY

- Google

- Sitejabber

- Trustpilot
Zahraa S
Absolutely spot on. I have had the best experience with Elite Academic Research and all my work have scored highly. Thank you for your professionalism and using expert writers with vast and outstanding knowledge in their fields. I highly recommend any day and time.
Stuart L
Thanks for keeping me sane for getting everything out of the way, I’ve been stuck working more than full time and balancing the rest but I’m glad you’ve been ensuring my school work is taken care of. I'll recommend Elite Academic Research to anyone who seeks quality academic help, thank you so much!

Mindi D
Brilliant writers and awesome support team. You can tell by the depth of research and the quality of work delivered that the writers care deeply about delivering that perfect grade.

Samuel Y
I really appreciate the work all your amazing writers do to ensure that my papers are always delivered on time and always of the highest quality. I was at a crossroads last semester and I almost dropped out of school because of the many issues that were bombarding but I am glad a friend referred me to you guys. You came up big for me and continue to do so. I just wish I knew about your services earlier.

Cindy L
You can't fault the paper quality and speed of delivery. I have been using these guys for the past 3 years and I not even once have they ever failed me. They deliver properly researched papers way ahead of time. Each time I think I have had the best their professional writers surprise me with even better quality work. Elite Academic Research is a true Gem among essay writing companies.
Got an A and plagiarism percent was less than 10%! Thanks!


Jermaine Byrant
Nicole Johnson



