#include<iostream>
#include<math.h>
#include<stdlib.h>
usingnamespace std;
bool Prime (int st2)
{
bool answer = true;
for (int i = 2; i < st2; i++)
if (st2 % i == 0)
{
cout <<"Najmanjši pradivizor je " <<i << endl<<endl;
cout<<endl<<endl<<endl;
answer = false;
break;
}
return answer;
}
int main(){
int st2;
int st=rand();
cout<<"Testing next random number: "<<st<<endl;
cout<<endl<<endl;
if (st<=1){ cout<<"This number is not prime.";
break;
}
double st1=sqrt(st);
st2=(int)st1;
cout<<"Sqrt of thsi number is:"<<st1<<endl;
cout<<endl<<endl<<endl;