Akshit dhar

Greenhorn
+ Follow
since May 03, 2016
Akshit likes ...
Java
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
2
Received in last 30 days
0
Total given
4
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Akshit dhar

I am trying to get source code of a website but some error is showing up. (Exception in thread "main" java.io.IOException: Server returned HTTP response code: 403 for URL: http://www.11880.com)
But Sites like google.com are doing fine.
I can't get code for www.11880.com

Please explain the problem.



Thanks.
7 years ago


The above code is showing java.net.UnknownHostException .

Can anyone explain why?
7 years ago
Thanks Campbell Ritchie. The space was giving the error.
7 years ago
Why is the program showing illegal state of expression?

7 years ago
Here is the whole program :
//Input is 0 1 10
//Output is 8.426661309628124E22

Here's the thing, instead of that value 8.426661309628124E22, i want 8426661309628124 , Also i don't want Exponential (E22). Just the integer value.


7 years ago
I wrote a program and it's giving output in decimals which i don't want. I want integer value of the result.
7 years ago
I have this value d=5.738
I just want the decimal to be removed.
7 years ago
Is there any data type we can convert double data type to, in order to get the solution?
7 years ago
I need to get value of double data type to be stored in an integer without loosing the precision.

double d=5.874;

I want the same value in integer variable ( say i=5874).
Is it possible? If yes, then How?

Thanks.
7 years ago
Thank you.
I will go through it and let you know if i find any difficulty
7 years ago
@CampbellRitchie I am not aware of anyone who needs assistance with programming.
@StephanVanHulst I love playing sudoku and chess sometime.
7 years ago
I wish to do a small project. It could be anything from designing to developing. I am ready to put my time to that.
So i would like to have suggestions on project ideas.
Or working with anyone on any project is also fine with me.

Thanks for bearing me!!!
7 years ago

Refer the attachment for answer.