A Dummy Currency Converter in Rust
It occurred to me after being tasked to come up with a currency converter in C, that why don’t I test my rust skills and do the same in rust which has been a bit challenging but easier at last than in C. It could be simple for the rest but given that me I was also new to C, it was a bit challenging to work with strcmp and char*’s to compare and input strings respectively.
So here is my implementation both in rust and C but a disclaimer, in rust I did not care about the conversion rate but to have the logic working. Enjoy
Rust And C implementation
Hope you enjoyed reading through, feel free to comment and advise me as I try to better my self.