Posts by Gama • 56 points
2 posts
-
4
votes1
answer40
viewsA: Help on a While Improvement()
you can put the printf and scanf inside a do/while example: do{ printf("Tecle 'S', se deseja continuar ou \n'N' se deseja finalizar o cálculo: "); scanf(" %c", &continua); if(continua != 'S'…
-
0
votes1
answer51
viewsA: Stack algorithm problem in C (Struct and function do not "recognize")
I don’t know which compiler you’re using but in codeblocks when we work with pointers "->" is used instead of "." , another thing when you are modifying a pointer it must be between parentheses…