How to convert string to integer?

im making a program that reads from console and converts the string value into integer .

How should i proceed ?

1 Like
3 Likes

Another option is i32 - Rust

2 Likes