0
Need a data type which can store (9999999999999999 ) seventeen int numbers?
I need a code to generate from 0000000000000001 to 999999999999999 and then save it and that must be possible to search a number from this set. Example: 1234567891234567
5 Answers
+ 3
Shamsulhaq alkozay Don't ask for readymade codes!
Firstly show your attempt then surely we will help youâïž
Follow our community guidelines -
https://www.sololearn.com/Discuss/1316935/?ref=app
Hope you understand đ
+ 1
If ( i < 9999999999999999; i= 0000000000000001; i++)
{
System.out.println (i);
}
+ 1
java long[] can store 19 digits numbers
max 9223372036854775807
0
That's right but before saving the number I will filter them and then
Save them
0
I could generate them but saving and searching numbers are challenging