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! |
|
asked by Akash Ashok (akashskyash007) 7 years ago | |
2 |
guys,all the best !! |
|
asked by Hema Bonaboyina (hemab) 7 years ago | |
5 |
Can some1 please give some tricky increment/decrement questions? |
|
asked by Satendra singh (skshooda) 7 years ago | |
0 | |
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 | |
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 |
Page 152 |
ICSE chat