Programming Question 1 Academic Essay

Beyond the Stereotype Academic Essay
August 27, 2020
Haematology ABX pentra 120 case study. (2,000 words + table).
August 27, 2020

Programming Question 1 Academic Essay

Programming Question 1

2.17 (Arithmetic, Smallest and Largest) Write an application that inputs three integers

from the user and displays the sum , average, product , smallest and largest of the numbers. Use the techniques shown in Fig. 2.15. [Note: The calculation of the average in this exercise should result in an integer representation of the average. So, if the sum of the values is 7, the average should be 2, not 2.3333….]

SAMPLE RUN #4: java integerThree

Enter·first·integer:-1?

Enter·second·integer:29?
Enter·third·integer:99?
-1+29+99=127?

Integer·Avg=(-1+29+99)/3=42?

-1*29*99=-2871?

Of·-1,·29,·and·99·-1·is·the·smallest.?

Of·-1,·29,·and·99·99·is·the·largest.?

Programming Question 2

2.27 (Checkerboard Pattern of Asterisks) Write an application that displays a checkerboard pattern, as follows:

SAMPLE RUN #0: java Asterisks

*·*·*·*·*·*·*·*·?

*·*·*·*·*·*·*·*·?

*·*·*·*·*·*·*·*·?

*·*·*·*·*·*·*·*·?

*·*·*·*·*·*·*·*·?

*·*·*·*·*·*·*·*·?

*·*·*·*·*·*·*·*·?

*·*·*·*·*·*·*·*·?

Why Choose US

6+ years experience on custom writing
80% Return Client
Urgent 2 Hrs Delivery
Your Privacy Guaranteed
Unlimited Free Revisions
find the cost of your paper
Is this question part of your assignment?
Place order
Posted on May 26, 2016Author TutorCategories Question, Questions