Trending ▼   ResFinder  

ICSE − Q & A

ICSE
Indian Certificate of Secondary Education (ICSE), New Delhi
+Fave Message

Ask a Question

Answer a Question!

ResFinder - Thousands of Practice Papers

program to find the sum of prime num , please correct my mistake in this !!!

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);
}
}
asked by Hareesh Ramakrishnan (hareesh0922) 8 years ago
2

+ 3 more questions by hareesh0922  

question in link 
http://www.respaper.com/sarthakb/5348-pdf.html Question 8
its difficult giving lots of errors
asked by Adithya Kannan (adiketh198) 8 years ago
2

+ 2 more questions by adiketh198  

Kindly provide working and answer of the question in the comments section.
asked by Anvesha Mishra (learner67) 8 years ago
2

+ 1 more questions by learner67  

where can i find predict the output questions on the net?
asked by Thulluminati (asthetic31) 8 years ago
1
Can anyone suggest me any theory questions plzzz...!!
asked by Phaneendra Tenneti (phaneendra12) 8 years ago
1
What's up guys ?
asked by Deleted Account (hadiq_pv) 8 years ago
2

+ 2 more questions by hadiq_pv  

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
Happy Easter!
asked by Won't Tell :P (some1) 8 years ago
1
99999 7777

555

33

1


How to print the pattern
asked by Anu krishna (anukrishna) 8 years ago
2
Guys do ya'll have any notes for definitions nd stuff ?? To prepare for section a
asked by Hrithesh Ramakrishnan (hrithesh23) 8 years ago
1

<< Prev

    Page 286    

Next Page >>

ICSE chat

© 2010 - 2024 ResPaper. Terms of ServiceContact Us Advertise with us