Answers

The Brainliest Answer!
2015-03-20T22:16:54+05:30
A buzz number is one which is either divisible by 7 or ends with 7.
PROGRAM:-

import java.io.*;
class buzz
{
  public static void main()throws IOException
  {
    BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
    System.out.println("Enter a number of your choice:-");
    int n=Integer.parseInt(br.readLine());
    int r,d
    if(n%7==0)
    {
      System.out.println("This is a BUZZ number.");
    }
    r=n%10;
    if(r==7)
    {
      System.out.println("This is a BUZZ number.");
    }
    else
    {
      System.out.println("This is NOT a BUZZ number.");
    }
  }
}
1 5 1