Posts by David Faria • 15 points
4 posts
-
0
votes1
answer39
viewsQ: how to do a subroutine on e1_insert,
Guys, I CAN NOT create a subroutine for the 'e1_insert' function (SECOND SNIPPET). This function will be called every time you want to insert a drink. In this piece of code that I put here, it is…
-
-1
votes2
answers48
viewsQ: Question in reading and printing names with char
Eai guys. I’m trying to create a code that reads, stores and prints names up to 5 letters(Characters). I’m sure there must be a more agile way than the one I made, just below: OBS: I want to be able…
-
0
votes1
answer59
viewsQ: How to do an operation using the CHAR variable TYPE?
Follow two codes. The first makes the desired operation with if and else. The second (which I am doubtful about) I try to recognize the char typed as an operator to perform the operation. #include…
-
0
votes1
answer91
viewsQ: Doubt in variable manipulation in C
The following code uses the decision structure to choose the command consistent with the operation chosen by the user. How could I simplify that? I tried to modularize instruction printf but I…
casked David Faria 15