Please some body help me in this code. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Please some body help me in this code.

By using char array input name from user and display it in upper and lower both cases. thanks

30th Nov 2017, 8:40 PM
S.K
2 Answers
+ 3
fgets () function for input (unless you wanna use a c++ version) then use toupper() or tolower() functions in the <ctype.h> library
30th Nov 2017, 9:35 PM
Sapphire
0
u need to use something like that: char* name; - this work like string so so
30th Nov 2017, 9:11 PM
stKhaDgar
stKhaDgar - avatar