
-----------------------------------
signal_1001
Fri Apr 30, 2004 8:15 am

if statements in for loops
-----------------------------------
Im working on a program that converts roman numerals to arabic numbers. I cannot figure out how to say the roman numeral is invalid if they are not in the right order.  this is some of my codevoid toarabic()
{
	int I=1, IV=4, V=5, IX=9, X=10, XL=40, L=50, XC=90, C=100, CD=400, D=500, CM=900, M=1000;
	char num[13];
	int arabic=0;
	
	cout