+ 2
[C] Is it possible to make a condition that checks what type of input the user gives?
Let’s say I want to make a program that converts Roman numerals to numbers and vice versa, but I only want the user to input once. This means that if they input a character or a string, it’s converted to an integer value, but if they input an integer, it’s converted to Roman numerals.
1 ответ
+ 3
you can surely do that, with strung functions, by including string header and using the specific functions you need