Hi, im just trying to figure out a fairly simple way to input fractions into my program, they have to be in the format of 7/2.
I thought that mabey i could scan the string and then split it at slash (/) while keeping the slash.
In mabey a sort of array, i know this possible in vb but not sure how to achieve this or anyother method in C.
Any help with either my idea or any other method for inputting a fraction is greatly appreciated,
Thanks
I thought that mabey i could scan the string and then split it at slash (/) while keeping the slash.
In mabey a sort of array, i know this possible in vb but not sure how to achieve this or anyother method in C.
Any help with either my idea or any other method for inputting a fraction is greatly appreciated,
Thanks
Comment