Been working at this part of the assignment for over 12 hours in a span 3 days now. Just can't get it to work. Not due for another 2 days so not too worried (probably will go to office hours tomorrow). But I thought I'd take one last crack at it before I take it in.
For this part of the assignment, we gotta capitalize every every first letter of the word and lowercase everything else using while loops, and ASCII numbers.
I feel like I'm sorta close, but not close enough to get a substantial reading from the output.
When I enter: "hello its whorehay"
my output is: "HHHHHHHHHHHHHHHHHH"
i'm assuming that the number of h's corresponds to the length of the string.. i'm stuck!
any hints? don't need to shout out the answer since i get a rush when i can figure it out by myself, but any hints toward the right direction would be greatly appreciated. thanks!
For this part of the assignment, we gotta capitalize every every first letter of the word and lowercase everything else using while loops, and ASCII numbers.
I feel like I'm sorta close, but not close enough to get a substantial reading from the output.
When I enter: "hello its whorehay"
my output is: "HHHHHHHHHHHHHHHHHH"
i'm assuming that the number of h's corresponds to the length of the string.. i'm stuck!
any hints? don't need to shout out the answer since i get a rush when i can figure it out by myself, but any hints toward the right direction would be greatly appreciated. thanks!