CodeYourFuture / CodeYourFuture/Module-Java

Write a Program to Reverse Numbers

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
🎯 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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.