Computer Science, asked by jatin00rawat, 2 months ago

Write a program in Java to multiply two numbers.​

Answers

Answered by manuprajapati519
5

Answer:

public class main

{

public static void main(String args[])

{

int a=12, b=6, s;

s=a*b;

System.out.println("Here's the answer ="+s);

}

}

Explanation:

Hey mate this is the answer for you question , I have made this program by initialising the values of integer variables without Scanner class..

If you liked so pls mark my answer as Brainliest and also follow for more...

Thank you :)

Similar questions