Search results

  1. N

    Post your C/C++ Programs Here

    Re: Post ur C/C++ Programs Here What is the c++ code to find the prime number for let the user to input the integer? Here is my java code help me translate to c++ code. int i, a, sum=1; for(i=2; i<=50;i++) { for(a=2; a<i; a++) { if ((i%a)==0) sum=0; } if (sum==1)...
Top Bottom