Advertisement
wiktormadera

Zad6JS

Nov 27th, 2020
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const liczba = Number(prompt('Podaj liczbę', 0))
  2.  
  3. if(liczba > 7) document.write(`Liczba ${liczba} jest większa od 7`)
  4. else if(liczba < 7) document.write(`Liczba ${liczba} jest mniejsza od 7`)
  5. else if(liczba === 7) document.write(`Liczba ${liczba} jest równa 7`)
  6.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement