CodeYourFuture / CodeYourFuture/Module-Java
Write a Program to Reverse Numbers
Open
🎯 Topic Programming Fundamentals
🏕 Priority Mandatory
🐇 Size Small
📅 Sprint 1
Core
- Dominant language
- No language data
- Stars
- 1
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Description
Create a private method that accepts a number as an argument and returns the number in reverse. For example, an input of 3956 should return 6593. Create code to call this from from a main method. Remember to use sensible method and variable names, and add documentation. Remember to use the debugger if something goes wrong!
### Learning Objectives
- [ ] Create a private Java method to reverse numbers
- [ ] Call this method from a Main method
- [ ] Test the Java program
### Why are we doing this?
To practice basic Java skills
### Maximum time in hours
1
Contributor guide
Assessment
This issue has not been assessed yet.