An open API service indexing awesome lists of open source software.

https://github.com/dbc2201/methodsone


https://github.com/dbc2201/methodsone

Last synced: 12 months ago
JSON representation

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
---