By SMC ACADEMY

Basic Blue Java Program

A Blue java program to multiply Two Number without using Multiplication Operator.

import java.io.*;
import java.util.*;
class Product
{
public static void main(String args[])
{
Scanner sc = new Scanner(System.in);
System.out.println(“Enter the first number”);
int a = sc.nextInt();
System.out.println(“Enter the Second number”);
int b=sc.nextInt();
int c=0;
for(int i=0;i