• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu
0

How I can convert a decimal number to hexadecimal an vice versa in same program in java ?

I want logic.

.
18th Sep 2022, 10:06 AM
Devansh Shukla
Devansh Shukla - avatar
1 Answer
+ 4
The logic is https://www.geeksforgeeks.org/java-program-for-decimal-to-hexadecimal-conversion/ https://www.tutorialspoint.com/how-to-convert-decimal-to-hexadecimal-in-java https://www.w3schools.com/java/java_type_casting.asp Please put "java" as tag, not "."
18th Sep 2022, 10:20 AM
Lisa
Lisa - avatar

Often have questions like this?

Learn more efficiently, for free:

  • Introduction to Python

    7.1M learners

  • Introduction to Java

    4.7M learners

  • Introduction to C

    1.5M learners

  • Introduction to HTML

    7.5M learners

See all courses
Hot today
What is a simple and easy way to learn ruby? :)
0 Votes
How do i make a lexer and parser
1 Votes
Help
1 Votes
Data analysis
0 Votes
Lesson Takeaways
0 Votes
If we already have the DELETE command in SQL, why do we need TRUNCATE?
2 Votes
Order of AI courses
0 Votes
Saved code
0 Votes
I’m a beginner and looking to learn the basics
0 Votes
Upvoting not work
0 Votes