help with arrays[quote] should look more like.. cout << "Employee gross wager : " << fixed << setprecision(2) <<show...
Semiprimemy bad, i thought it's still i<x/2.. But it works too if i<x on both isprime and isSemiprime. So i...
Semiprime[quote]oops that s hould have been i<=x/2 but still it doesnt print 4[/quote] You mean it should ha...
Semiprimeif i<x then false, but if i<x/2 then it will return true.
Semiprime[code] bool isprime(int x) { for(int i = 2; i<x/2 ;i++) [/code] Why i<x/2 ? Should be i<x, but ...
This user does not accept Private Messages