https://github.com/dbc2201/methodsone
https://github.com/dbc2201/methodsone
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/dbc2201/methodsone
- Owner: dbc2201
- Created: 2022-06-27T17:33:17.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-06-27T18:45:17.000Z (about 4 years ago)
- Last Synced: 2025-07-04T13:09:35.873Z (about 1 year ago)
- Language: Java
- Size: 11.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Largest of 3 Numbers
## Java Programming Course
---
**Course 1**: Problem-Solving and Computational Thinking using Java
**Sprint 6**: Implementing Modular Programming Using Methods
---
Problem Statement
---
Write a program that takes three numbers as input and prints the largest of them.
Create a method in the source code file called `findLargestNumber()` that takes three numbers as input and returns the
largest of them.
The method should have the parts:
1. Method name: `findLargestNumber`
2. Return type: `int`
3. Parameter List: `int num1, int num2, int num3`
4. Method body: complete the method body
5. JavaDoc Comment: `/**` and `*/` [optional]
---
Task
---
1. Open the [source code file](src/main/java/io/github/dbc/LargestNumberFinder.java) and complete the code.
2. Open the [test case file](src/test/java/io/github/dbc/LargestNumberFinderTest.java) and run the test cases to
check your code.
---
Fun Resource
---