Ask a Question | Answer a Question! |

Submitting your question...
ResFinder - Thousands of Practice Papers
GUYS THIS IS URGENT:
Cud u pls tell me if this code snippet is r8 for generating random no.s between 23 and 49?
while (count1!=5)
{
int num1=(int)(Math.random()*100);
if (num1<23||num1>49)
continue;
else
{
b[count1]=num1;
count1++;
}
}
Thanks a lot and all the best! More... |
 |
asked by Akash Ashok (akashskyash007) 7 years ago |
2 |
Is it wise to use string functions by converting number to string in number programme? |
 |
asked by Catlover (catlover) 7 years ago |
2 |
ar[]={1,2} arr[]={2,1}
Is ar[]==arr[]?? |
 |
asked by Prince Adwaya (adwaya) 7 years ago |
2 |
All the best guys may all of you get 100 in computer... |
 |
asked by Rachit Dani (rachitd1212) 7 years ago |
8 |
Math.rint(-8.3)= -8.0 Math.round(-8.3)= -8
Math.rint(-8.7)= -9.0 Math.round(-8.7)= -9
Math.rint(-8.5)= -8.0 Math.round(-8.5)= -8
Math.rint(-9.5)= -10.0 Math.round(-9.5)= -9
Ckecked in BlueJ |
 |
asked by Ãwe§♥m€ l¥k tHât (aria124) 7 years ago |
4 |
+ 1 more questions by aria124
Math.rint(8.3)=8.0 Math.round(8.3)=8
Math.rint(8.7)=9.0 Math.round(8.7)=9
Math.rint(8.5)=8.0 Math.round(8.5)=9
Math.rint(9.5)=10.0 Math.round(9.5)=10
Ckecked it in BlueJ |
 |
asked by Ãwe§♥m€ l¥k tHât (aria124) 7 years ago |
1 |
|
i have noticed in a few past papers when a function overloading question is given in section B at the end it says 'use library functions' what does this mean ?? |
 |
asked by Aryan Manakame (avmx18) 7 years ago |
2 |
Is a variable description necessary at the end of program? I have never written one before, our teacher told us that comments were sufficient.. |
 |
asked by RetardedWeeb (lucifermorningstar) 7 years ago |
3 |
what is the range of `int' and `char' data types |
 |
asked by Sahil Prasad (sahilp007) 7 years ago |
4 |