Please help me with a short explanation of the code.. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Please help me with a short explanation of the code..

What is the algorithm? and What is giong on with this part? 👇👇👇👇👇 for ( int x = 0; x < y; x++ ) { char z = (char) toupper( word[x] ); switch ( z ) 👆👆👆👆👆 https://code.sololearn.com/cM64d8hYFZPg/?ref=app

25th Jan 2020, 7:19 PM
M.Gavili
M.Gavili - avatar
2 Answers
+ 1
Thanks dude.. And the problem with this code is that if you enter more than 17 letters it will be a mess .. You can try it to see what's what..
26th Jan 2020, 8:05 PM
M.Gavili
M.Gavili - avatar
0
Do you know how to fix that?? In a way that you can enter more than 17 letters..
27th Jan 2020, 7:47 AM
M.Gavili
M.Gavili - avatar