subject

Can you create a Java program perform the following ? The main() program is to be used for input and output unless specified.
Use appropriate input and out messages and comment your code.
Create user-defined method: calculate() which takes 2 integers and
a character (+, -, / and *) as parameters and return respective result
of the operation on these parameters.
Create user-defined method rem() which takes 2 integers as
parameters from the main() program and prints the output without
returning any value.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 11:30
To hide gridline when you display or print a worksheet
Answers: 1
question
Computers and Technology, 23.06.2019 07:30
What part of the interface displays the external references contained in a selected cell? the status bar the review tab the scroll bar the formula bar
Answers: 1
question
Computers and Technology, 24.06.2019 03:30
Which explains extrinsic motivation? a)motivation in which there is a reward b)motivation that is personally satisfying c)motivation that is personally meaningful d)motivation in which the subject is interesting
Answers: 1
question
Computers and Technology, 24.06.2019 08:10
Where are american poets found in the dewey decimal system
Answers: 1
You know the right answer?
Can you create a Java program perform the following ? The main() program is to be used for input an...
Questions
question
Mathematics, 03.09.2021 07:10
question
Mathematics, 03.09.2021 07:10
question
Mathematics, 03.09.2021 07:10
Questions on the website: 13722367