subject

1. Construct a program that does the following: a. Display your name and the assignment number using println().
b. Prompt the user and read in four integers (i1, i2, i3, i4) (use print()
c. Displays the four integers to the screen (use println())
d. Using the entered values, display the following results:
e. i1 + i2 + i3 + i4
f. i1 * i2 - i3 * i4
g. i1 * (i2 + i3) * i4
h. (i1 + i2 + i3 + i4) % i1
i. Output the lesser of i1 and i2 using printf.
j. Output the greater of i1+i2 and i3*i4 using printf.
k. Determine if i1 is a multiple of i2, i3, or i4. Display the determination results (Hint: use the Remainder (%) operator).
2. Set a breakpoint after the four integers have been entered and determine the values using the variable/watch window.
3. Take a screen shot of #2 Zip NetBeans project and submit the file and the screen shot to BlackBoard.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 14:30
Create a pseudocode design to prompt a student for their student id and the titles of the three classes they want to add. the solution should display the student’s id and a total bill. • bill a student using the following rules: o students can only add up to 3 classes at a time.
Answers: 3
question
Computers and Technology, 23.06.2019 02:30
How to launch an app: steps to be successful? launching an app is a great idea, but it’s not that easy as we supposed to think. the majority of mobile applications don’t generate revenue because companies aren’t ready to be competitive. referring to our experience in successfully building and launching apps we hope to you omit these difficulties. we are going to talk about ideas, marketing, testing your product, its development, distribution and support. you will learn 8 product launch stages to succeed.
Answers: 1
question
Computers and Technology, 23.06.2019 02:30
People with high self-esteem: accept their strengths and weaknesses. believe that failed experiences are failures of their whole self. feel good about who they are only when they reach total success. need positive external experiences to counteract negative feelings that constantly plague them.
Answers: 1
question
Computers and Technology, 23.06.2019 10:00
Now, open this passage to read about fafsa requirements. describe the information you will need to provide in order to complete a fafsa. list at least three of the required documents you must include.
Answers: 3
You know the right answer?
1. Construct a program that does the following: a. Display your name and the assignment number usin...
Questions
question
Geography, 29.07.2019 20:30
question
Mathematics, 29.07.2019 20:30
question
Biology, 29.07.2019 20:30