How do I draw a case logic structure for a Roman numeral coverter?
403800
if i understand you correctly\nits usually called a 'switch'  or an 'if-else'\n\npseudocode:\n\n\nswitch:\ncase 'A'\n {\n      n + 1;\n\n }\n\n\ncase 'B'\n {\n      n + 2;\n\n }\n\n\ncase 'C'\n {\n      n -9;\n\n }\n\n\ndefault:\n\nend switch\n\n\ntry a search for switch or case statement
813964
♥    since i cant put it together i will show u wut 2 type step by step\n\n1.  &\n2.  hearts\n3.  ;   \n\njust put all of those together and make sure hearts is lowercase
44336
One solutions is:\n\nGet the formula from the user then parse it. You have to write a parser.\n\nAt run time, todays languages won't be able to get forumula and input from those variable.\n\nI am a Software Engineer and I know you can't do it with C, C++, Java, any .Net...\n\nGood Luck
779217
There are built-in functions in a programming language to perform that task.For instance in C++ we have: cint("string value") for converting the string value into integer.And in Visual Basic we have the val() function to do the same thing.
76546
How about using the char array that is the input string, converting to uppercase, then using the chars as indexes into your substitution array of chars? Use the ASCII table to help you.\n\nchar subst_array[] = {'Z', 'Y', 'X', ...};\n\nconversion to uppercase: if (char > 90) char -= 32;\n\nfor (i = 0; i < strlen(input_string); i++)\n  input_string[i] = subst_array[input_string[i] - 65];\n\ncout << input_string;
650102
number,character and date
751189
If you are under Windows you can turn on NumLock, and use Alt plus codes on the number pad to do some of them (Alt-253 = ², Alt-171 = ½, Alt-251 = √, etc.) \n\nAlternatively, you can use Character Map utility under Start > All Programs > Accessories > System Tools.  Then you can get lots of others:\n°±²³ΦΘΠⁿ⅓⅔⅛⅜⅝⅞∆∏∑√∞∫≈≠≤≥\n\nFeel free to copy these from here too...
34052
I do not know a preprogrammed utility to do this, but can point you in the direction that you might need to go.  See the reference below for the math and an on-line converter:
924835
A flat, denoted by a symbol that looks a bit like a lowercase "b."
66876
Here's a pretty good one I wrote:\n\nhttp://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=58476&lngWId=1\n\nYou'll need Visual Basic to compile it or you can e-mail me and I'll send it to you...
288244
Copy this and paste it into your code:\n\nOriginal = "Hello"\nLower = LCase(Original)\nUpper = UCase(Original)\nReverse = ""\nFor i = 1 To Len(Original)\n   If Mid(Original, i, 1) < Mid(Lower, i, 1) Then\n      Reverse = Reverse + Mid(Lower, i, 1)\n   Else\n      Reverse = Reverse + Mid(Upper, i, 1)\n   End If\nNext
923039
email me, calcu_lust@yahoo.com, i'll write out a nice solution.\n\nEdit: Go to my website, and aforementioned nice solution is typed out as a .pdf for you to download, with all the correct symbols and such:\nhttp://geocities.com/calcu_lust/yahooans.pdf
535901
the roman alphabet is pretty similar to ours but Us and Vs are almost interchangeable and they didn't have Js or I's. I'm in latin class right now and we just went over this.
930564
You just need to modify it a bit:\n\nfor (...)\n{\nif (tstring[a] == ' ')\n{tstring[a] = '_';}\n\nelse\n{lower_case(tstring,a);}\n} // end for\ntstring[0] = toupper(tstring[0]);\n\n\nAlso, your lower_case function isn't really necessary since you can assign tstring[a] = tolower(tstring[a]) straight away. Just a thought. ;)
277838
char ch = 'a';\nif(Character.isLowerCase(ch) == true)\n // lowercase\nelse\n // uppercase
987285
It's called ASCII code... but can be written into art, instead of programmes.\n\nlike a rabbit...\n\n(&#92;__/)\n(+'.'+)\n(")_(")
639176
Uses crt;\nVar\n   s1,s2,s3,s4,b1,b2:string;i:integer;\nBegin\n     Clrscr;\n     s1:='The quick brown fox jumped over the lazy dog ';\n     s2:='near the shallow river.';\n     Repeat;\n            Clrscr;\n            Gotoxy(40-(Length(s1) div 2),1);\n            Writeln(s1);\n            Gotoxy(40-(Length(s2) div 2),2);\n            Writeln(s2);\n            Repeat\n                  Writeln;\n                  Write('Change What: ');\n                  Readln(s3);\n                  Write('Change To: ');\n                  Readln(s4);\n                  If Pos(s3,s1)<>0 then\n                     Begin\n                          i:=Pos(s3,s1);\n                          Delete(s1,i,Length(s3));\n                          Insert(s4,s1,i);\n                     End;\n                  If Pos(s3,s2)<>0 then\n                     Begin\n                          i:=Pos(s3,s2);\n                          Delete(s2,i,Length(s3));\n                          Insert(s4,s2,i);\n                     End;\n                  Repeat;\n                         Write('Change another(Y/N): ');\n                         Readln(b1);\n                  Until (b1='Y')or(b1='y')or(b1='n')or(b1='N');\n            Until (b1='N')or(b1='n');\n            Clrscr;\n            Gotoxy(40-(Length(s1) div 2),1);\n            Writeln(s1);\n            Gotoxy(40-(Length(s2) div 2),2);\n            Writeln(s2);\n            Writeln;\n            Repeat;\n                   Write('Want to repeat(Y/N): ');\n                   Readln(b1);\n            Until (b1='Y')or(b1='y')or(b1='n')or(b1='N');\n     Until (b1='N')or(b1='n');\nEnd.