Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #107.40K
Re:
i need help converting this C++ to pseudocode help me pleasee [CODE]#include <iostream> using namespace std; { string Z[]={"zero","one","two","three","four","five","six","seven","eight","nine","ten","eleven","twelve","thirteen","fourteen","fifteen","sixteen","seventeen","eighteen","nineteen"; string A[]={"zero","ten","twenty","thirty","forty","fifty","sixty","seventy","eighty","ninety"; int N,N1,N2,N3, r; string text; N1=N/100; r=(N-(N1*100)); if (r<20){ cout<< Z[N1]+"hundred and"+A[r]; } else{ N2=(N-N1*100)/10; N2=r/10; N3(r-(N2*10)); cout<<[N1]+"hundred and"+A[N2]+[N3]; } cin>>N; return 0; }[/CODE] |