+ 1
By using method, create a java program consisting of addition, subtraction, multiplication, division
Create program for java please help me
3 Answers
+ 3
Many people here can help you, but you need to write the code first.
If you're not sure how to begin, pseudocode is helpful.
Once you've written the code, if you have problems, look around for an answer and then attach the code as per this instruction:
https://code.sololearn.com/Wek0V1MyIR2r/?ref=app
https://code.sololearn.com/W0uW3Wks8UBk/?ref=app
0
Is there anyone help me how to create java program where main method call the sub function method consisting of addition, subtraction, multiplication, division and the reminder of two input values display the input generating the sum, difference, product, quotient and reminder
0
Public java.util.Scanner
Class Main {
Public static main(string[] args) {
Scanner VaL101-new scanner(System.in) ;
System.out.println("Enter Value 10:");
Scanner VaL102= new scanner(System.in);
System.out.println(Enter Value 2:");
Int, A, B, C, D;
A- vaL01 + vaL02
B- vaL01 - vaL02
C- vaL01 * vaL02
D- vaL01 / vaL02
System.out.println("SUM:" +A) ;
system.out.printIn("DIFFERENCE:" +[]) ;
system.out.printIn("PRODUCT:" +C);
System.out.println(QUOTIENT:"+D);
PLEASE help me how can I put the Methode name teach me