Posts by maykon • 7 points
3 posts
-
-2
votes1
answer46
viewsQ: Can anyone help me understand this line of javasript code?
This algorithm is implemented in a book project Use your head! Javascript Programming, of chapter 8 created a naval battle. Where I couldn’t understand this piece of code. if(hit &&…
-
0
votes1
answer38
viewsQ: How to solve the problem , the value of the variable I receive from the HTML Input gives me the Nan value
function InicirContagem(){ var vinicio = document.getElementById('txtInicio') var res = document.getElementById('Resposta') //var vn =…
-
-1
votes2
answers137
viewsQ: How to use Readkeey in C#
int loop = 0; while( loop >= 0 ) { int aa; int an; Console.WriteLine( " Qual o Ano Atual? : " ); aa = Convert.ToInt16( Console.ReadLine() ); Console.WriteLine( " Qual o Ano de Nascimento? : " );…