Posts by hiyan • 17 points
6 posts
-
0
votes1
answer29
viewsQ: Java - Uninitialized "x" variable
I’m having a question: The code is as follows:: package yan.exercises.java.struct.repeat; import java.util.Scanner; public class exe2 { public static void main(String[] args) { Scanner scan = new…
-
0
votes1
answer40
viewsQ: Questions about C-language loop/array
Hello! I did a basic program to calculate the averages of 4 students. The problem is that the result of it, in the final screen, appears the phrase "Insert 4 Notes student 5 here: " without having…
-
1
votes1
answer48
viewsQ: How does access to strings in an array work?
Create a program that receives the date in numeral and then return it in full. I tried to do a few times, but I ended up merging my code with one I found from a forum and came out like this:…
-
-1
votes2
answers292
viewsQ: Basic - Java: error: class, interface, or Enum expected
I am learning POO by Java and this would be my first code, outside the classic hello world kkk. How long to compile it via bash, the following error appears: class2.java:12: error: class, interface,…
-
0
votes1
answer179
viewsQ: C code skipping user input
Hello! I am Newbie and I am trying to make a program to read a list of information inserted in it. Until the first line it works, but from the second register he no longer reads the name, putting…
-
0
votes1
answer443
viewsQ: Error '''Segmentation fault core dumped'' in C
I’m a little new, but I haven’t been able to solve that problem yet, so I came to you. I use linux and I have a problem with the code I made (it’s very simple). The code reads a number and…