Ask a Question | Answer a Question! |

Submitting your question...
ResFinder - Thousands of Practice Papers
anyone correct my program below |
 |
asked by Hareesh Ramakrishnan (hareesh0922) 8 years ago |
0 |
+ 2 more questions by hareesh0922
public class p
{
public static void main (String args [])
{
int i , a=0,j,b=0;
for (j=2;j<=100;j++)
{
for(i=1;i<=j;i++)
{
if(j%i==0)
b=b+1;
}
if(b<=2)
a=a+j;
}
System.out.print(a);
}
}
program to find the sum of prime num , please correct my mistake in this |
 |
asked by Hareesh Ramakrishnan (hareesh0922) 8 years ago |
2 |
wat is variable description and mnemonics ??? |
 |
asked by Hareesh Ramakrishnan (hareesh0922) 8 years ago |
1 |
|
which will b evaluated first..++ or () ?? in the 2015 paper, the ++ was valuated first although () has a higher precedence..can anyone explain this? |
 |
asked by Ishanuj Hazarika (ishanuj99) 8 years ago |
2 |
99999 7777
555
33
1
How to print the pattern |
 |
asked by Anu krishna (anukrishna) 8 years ago |
2 |
precedence of operators in java |
 |
asked by Somnath Biswal (somnathbiswal) 8 years ago |
1 |
Attention friends! You can find the best programs in:
http://www.codenirvana.net/search/label/Java
There are many doubts asked by the people which are explained by the admin within
half-a-day. Try it. All The Best! |
 |
asked by Siru Thondan (vasudevakrishna) 8 years ago |
2 |
Library classes is so tough can we use buffered reader instead of scanner can any1 tell how many programs from library will come if there are 2 questions then plz tell how to learn |
 |
asked by Arun Murugan (arunmurugan) 8 years ago |
1 |
Question in comments box ..👇 |
 |
asked by Vartika S (vartika6) 8 years ago |
2 |