Posts by Diego Roney • 127 points
7 posts
-
1
votes2
answers511
viewsQ: Java IMC, helps with an error
What’s wrong with that code, I can’t print the IMC calculation? Error is in the last lines of the Person Class. package exe_3_ques_02; //import import java.util.Set; import class…
-
2
votes1
answer76
viewsQ: Write member access to a pointer structure instead of using the "->" operator
How would you write this assignment: p1->caracter='B'; otherwise using * instead of ->?
-
1
votes1
answer799
viewsQ: C / How to exchange for a while?
Write the function prints using the while repeat structure instead of for. If necessary I can edit and insert all the code. void imprime(Ccc *p) { Ccc *r; for (r = p; r!=NULL; r = r->proximo)…
-
2
votes1
answer896
viewsQ: C / How to calculate the average in this program?
Hello, this program asks for a number of people, then stores information in the struct. My question is: How to make the program calculate the average height? Calculation is commenting #include…
casked Diego Roney 127 -
2
votes2
answers77
viewsQ: How to modify the content of a root using a pointer?
How to modify the contents of a root using a pointer? Write a code in C that uses a variable with the name 'root', have the type 'float' and have the initial value 3.1415. In this same code, use…
-
-1
votes3
answers409
viewsQ: Sex selector on if parole
How would you do in this code to catch the sex of the person and display on printf()? I’ve seen many activities where in the condition of if, if he used too many numbers and hit me a question: And…
-
1
votes1
answer206
viewsQ: Error with C Strings
The phrase "TYPE THE STREET" should only appear immediately after being inserted what asks the "ENTER A NUMBER FOR CONTACT". What must have happened? #include <string.h> #include…
casked Diego Roney 127