ok here`s the code
#include <iostream.h>
void main()
{
int x = 0;
cout << "Loliko si pa star ? >>>" ;
cin >> x;
if ((x >= 0 ) && ( x <= 4 ))
{
cout << "\n dojencek" <<endl;
else
//error here
{
if ( (x >= 4 ) && ( x <= 10 )
{
cout << "lohk bi se sel ucit kej" ;
else
{
if ( (x >= 10 ) && ( x <= 20 )
cout << "nauci se C++" ;
else
{
if( x >= 20)
cout << "zmanknjako mi je besed";
cout << "nauc se C#, J++, J#";
else
//error here
{
cout << "you are dead" ;
}
}
}
//error here
}
}
}
return(0);
}
but i get errors when i kompile