Computer Science, asked by kaynat786anjum, 1 day ago

write a Java Program to check if the product of two numbers it is a Buzz number or not ​

Answers

Answered by cheemtu
1

public class KboatBuzzCheck

{

   public static void buzzNumCheck(int a, int b) {

       int p =  a * b;

       System.out.println("Product = " + p);

       if (p % 10 == 7 || p % 7 == 0)

           System.out.println("Product is a Buzz Number");

       else

           System.out.println("Product is not a Buzz Number");

   }

}

Attachments:
Answered by jeparnosaha
0

here is you answer

javajavajavajava

Attachments:
Similar questions