Skip to content

Commit

Permalink
fix(armstrong_number): changed exercise
Browse files Browse the repository at this point in the history
  • Loading branch information
Pedro Ferreira committed Dec 11, 2024
1 parent ac9002f commit 42c2b65
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion subjects/armstrong_number/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,11 @@ pub fn is_armstrong_number(nb: u32) -> Option<u32> {

### Usage

Here is a possible program to test your function,
Here is a possible program to test your function:

```rust
use armstrong_number::*;

fn main() {
println!("{:?}", is_armstrong_number(0));
println!("{:?}", is_armstrong_number(1));
Expand Down

0 comments on commit 42c2b65

Please sign in to comment.