Question: Write a recursive function to convert decimal to binary in JAVA. Your program should have error checking for error input. If I give string or

Write a recursive function to convert decimal to binary in JAVA. Your program should have error checking for error input.

If I give string or characters or like 20A error should print,

other case if I give negative number error should print.

non numeric and symbols are not accepted if we give input error should print.Give answer correctly this is the 4th time I am posting question

Note this program should develop using recursive function.





Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!