Math, asked by harsh85839, 1 year ago

what is a buzz number

Answers

Answered by ance62
4
A number is said to be Buzz Number if it ends with 7 OR is divisible by 7..

harsh85839: thanks
harsh85839: where do u live
Answered by Brenquoler
5

A number which is divisible by 7 or whose last digit is 7 is called a Buzz number.

Java program how to know whether a number is a Buzz number or not.

import java. util. *

class Buzz

{

public static void main (string args[])

{

Scanner sc= new Scanner (System. in);

int x;

System.out.println ("Enter a number");

x=sc. nextInt ();

if(x%==0||x/10==7)

System.out.println (x+"is Buzz number");

else

System.out.println (x+"is not Buzz");

}

}

Similar questions