Posts by Vinicius Batis • 35 points
4 posts
-
-5
votes3
answers111
viewsQ: How to do a function to calculate and alert the number of lamps needed to illuminate a particular room
function alertarNumeroDeLampadas(){ var potencia = prompt ("Digite o valor da potência da lâmpada em watts: "); var largura = prompt ("Digite o valor da largura do local(Metros): "); var comprimento…
-
0
votes1
answer47
viewsQ: Why, when I compare 1000 and 500, is 500 always higher in this function in JS?
I wrote this function in Javascript that compares two numbers and tells me which one is the largest: function verificarMaiorNumero(x,y){ if (primeiroNumero > segundoNumero){ return primeiroNumero…
javascriptasked Vinicius Batis 35 -
2
votes3
answers94
viewsQ: Make a function that shows whether the number is integer or not
I need to do a function that returns: is whole or not whole.
-
-1
votes1
answer57
viewsQ: I want to use DISPLAY:FLEX in CSS but I’m not getting it?
<iframe class="OrganizarPosicao" src="https://www.linkedin.com/embed/feed/update/urn:li:activity:6378354762370285568" height="525" width="504" frameborder="0" allowfullscreen="">…