Browse Source

docs(creverse_it): correct grammar

DEV-3198-new-go-exercise-get-digit-len
davhojt 2 years ago committed by Dav Hojt
parent
commit
fcfeb76ca1
  1. 3
      subjects/reverse_it/README.md

3
subjects/reverse_it/README.md

@ -2,13 +2,12 @@
### Instructions ### Instructions
Create a function called `reverse_it` that takes a number and returns a string with the number backwards followed by the original number. If the number is negative a char `-` has to be added to the beginning of the string. Create a function named `reverse_it`, that takes a number. It should return a string with the number reversed, followed by the original number. If the number is negative, a `-` should be added to the beginning of the string.
### Expected Functions ### Expected Functions
```rust ```rust
pub fn reverse_it(v: i32) -> String { pub fn reverse_it(v: i32) -> String {
} }
``` ```

Loading…
Cancel
Save