Open harshraj8843 opened 2 years ago
Write a Rust program to convert string to snakecase
Snakecase is a style of writing in which all letters are lowercase and spaces are replaced with underscores.
Input : "hello world" Output : "hello_world"
!assign
Description
Write a Rust program to convert string to snakecase
Snakecase is a style of writing in which all letters are lowercase and spaces are replaced with underscores.
How to contribute
- Save the solution in `program/program/convert-string-to-snakecase/program/convert_string_to_snakecase.rs` file