Posts by edward elric • 25 points
3 posts
-
0
votes2
answers32
viewsQ: Input and reset problems
Why the 2 input elements placed at the end of the code are doing nothing? <!DOCTYPE html> <html> <head> </head> <body> <form action="https://Example.com"…
-
0
votes0
answers10
viewsQ: How to generate different numbers
Why my code is sending me 2 equal numbers? for(int i = 0; i < 2; i++) { Random numAleatorio = new Random(); int valorInteiro = numAleatorio.Next(10000, 99999); Console.WriteLine(valorInteiro); }…
-
2
votes1
answer81
viewsQ: Condition does not work in a Setter method
Why does my code give the following error: The operator '>' cannot be applied to type operands decimal and double. Code: class Funcionario { public string nome { get; set; } public string…