Answers

2015-06-06T08:56:01+05:30
NOTE : THE STATEMENT IN BOLD HAS TO BE WRITTEN IN ONE LINE ONLY.

import java.io.*;

class Buzz

{
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
int a;
public void show()throws Exception

{
System.out.println("Enter the number:"); a=Integer.parseInt(br.readLine());
if(a%10==7 || a%7==0)

System.out.println("Entered number is a Buzz number.");

else

System.out.println("Entered number is not a Buzz number.");

}
public static void main(String args[])throws Exception

{ 
Buzz ob=new Buzz();
 ob.show();
}

}
0
Hope it helps ; plz mark as brainliest ....
2015-06-06T22:55:48+05:30
Pseudo code: 

while (number > 99) number /= 10; 
if (number % 10) == 7 print("It's a buzz number);
0
click on the yellow button beside my answer