###is writing 'break' after flag=1.... compulsory??###coz the program's running on bluej... int flag = 0; for(int i=1;i<n;i++) { if(i*(i+1) == n) { flag=1; } } if(flag==1) Sop("pronic"); else Sop("not pronic"); }More... |
|
asked by Fire Bird (firebird) 6 years ago | |
2 |
Osmotic entry of water when cell is placed in hypotonic solution |
|
asked by Mugdha Walawalkar (mugdhahemant) 6 years ago | |
1 | |
Do we need to account for negative pronic numbers |
|
asked by Pavan K Srinivasan (throwaway) 6 years ago | |
1 |
What are the end products of Photochemical and Biosynthetic Phase? |
|
asked by Siddhant Joshi (siddhant94) 6 years ago | |
1 |
if i wrote in the mTh.floor -5 instead of -5.0 how many marks will be gone 1 or 0.5?? |
|
asked by Yugdeep Singh (yugdeep) 6 years ago | |
1 |
in string program, ive written If(sentence.charAt(i)==“ “) { Sentence.CharAt(i+1)=sentence.charAt(i+1).toUpperCase(); } Is this correct? If not how many marks will i lose? |
|
asked by Rishab Katakia (pringles0403) 6 years ago | |
2 |
ONE MORE TO GO :) 90% OVER |
|
asked by Abhinav Sharma (monstercat) 6 years ago | |
1 |
If attempted all 6 programming questions then will the best 4 be considered? In section A last question has been wrongly written by me. Is there any chace that I would get 99 or 100? |
|
asked by Ashutosh Dash (ashutosh_dash) 6 years ago | |
3 |
For pronic number, I hope you guys have accounted for the fact that 0 is pronic as well. -1 * 0 = 0 0*1 = 0 Pretty easy question otherwise so this may(tm) be important |
|
asked by Rohan Gupta (rohang37) 6 years ago | |
2 |
Is the following logic for Pronic OK? n is the number int flag = 0; for(int i=1;i<n;i++) { if(i*(i+1) == n) { flag++; break; } } |
|
asked by Harsh Nawal (harsh104) 6 years ago | |
3 |
Page 464 |
ICSE chat