import java.util.Scanner;
class New8
{
public static void main(String args[])
{
Scanner s=new Scanner(System.in);
System.out.println("Enter a number");
double num=s.nextDouble();
if(num%7.0==0.0 || (num*10.0)%10.0==7.0)
{
System.out.println(num+" "+"is a buzz number");
}
else
{
System.out.println(num+" "+"is not a buzz number");
}
}
} (Is this correct??)
Answers
Answered by
0
Answer:
Yes
Explanation:
The program is well defined and check once again in bluej for any grammatical errors..!
Answered by
0
Answer:
u can check in bluej if you are not sure
Similar questions