C | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

C

hi I would like to write a program in c that taking as input a letter chosen by the user, this letter is exchanged with another one at random in my string. thanks to those who answered

8th Nov 2022, 9:18 AM
Elia Trotta
3 Antworten
+ 2
Attempts?
8th Nov 2022, 9:27 AM
A͢J
A͢J - avatar
+ 2
Elia Trotta Learn about rand() method and char pointer to work with string in C
8th Nov 2022, 9:34 AM
A͢J
A͢J - avatar
0
I don't understand
8th Nov 2022, 9:29 AM
Elia Trotta