Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codemistic/Data-Structures-and-Algorithms
/ Check
Function
Check
CPP/questions/prime.cpp:8–13 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
6
#define mod 1000000007
7
#define endl
'\n'
8
void Check(int n ){
9
if(n%2==0 or n%3==0)
10
cout<<
"its not prime"
<<endl;
11
else
12
cout<<
"its prime"
<<endl;
13
}
14
int main(){
15
cin.tie(0)->sync_with_stdio(0);
16
int n;
Callers
1
main
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected