to input a number and check whether a number is buzz number Or not
make flowchart
Answers
Answered by
2
ource Code
#include <iostream>
using namespace std;
int main()
{
int n;
cout<<"Please enter a number: ";
cin>>n;
if(n%7 == 0 || n % 10 == 7)
cout << n << " is a buzz number "<<endl;
else
cout << n<< " is not a buzz number "<<endl;
return 0;
}
Explanation:
I hope it helps you.
mark me as branliest
Similar questions