hi i'm beginner, anyone know how i can change from number to letter? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

hi i'm beginner, anyone know how i can change from number to letter?

Example, if I want to put the variable (hello), then I want to assign it that when I type the number (1) it appears (hello) instead of (1).

14th Oct 2020, 8:41 PM
Santiago Andres Chagueza Acevedo
Santiago Andres Chagueza Acevedo - avatar
1 Answer
+ 1
Use if statement for this If(number==1) cout<<"hello";
14th Oct 2020, 9:53 PM
Hima
Hima - avatar