Look i have a litlle problem, and this time I0m not posting this from my home but from somewhere else,so I will not be in quick replaying here..
Here's the problem:
I made a function where every roman sign translates to arabic:
M----1000
C----100
etc.
and those numbers are put in some string.-(string?- I don't know the word on english).
Then I put a for loop in wich I put several if statements which check if the number is bigger than next number, add it to the Sum,if not delete it from the sum.
So this works pefectly for numbers like MCMXCVII--1997
But for a numbers like this XXC it doesn't.
I need to somehow add a if statements which checks if the number and the next number are the same.
Further I don't know still.
Maybe next time I post I'll put source code which I made, but if anyone has idea what am I talking about post some reply!
Thanx in advance!