probaj ovo mozda ti pomogne :) jer case ti nece puno pomoci mada mozes ali je komplikovano?morao bi for petlju i if i swich da koristis minimalno 10 puta taok da je to kritincno????
Code:
#include <cstdlib>
#include <iostream>
using namespace std;
int main(int argc, char *argv[])
{ string a[10]= {"Null-","eins-","zwei-", "drei-","vier-","fuenf-","sechs-",
"sieben-","acht-","neun-"};
int b,d ;
string c[10];
cout<<"Tragen SIe ein Zahl ein?\n";
cin>> b;
for (int i=0; i<4; ++i)
{
d = b%10;
c[i]=a[d];
b=b/10;
};
for (int i=4; i>=0; --i)
{
cout<<c[i];
}
system("PAUSE");
return EXIT_SUCCESS;
}