Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var x = prompt("Podaj ilosc w zlotowkach", "")
- var zlotowki = x/1;
- if (zlotowki>=1 && zlotowki<=1000000) {
- var euro = zlotowki/4.3;
- var dolar = zlotowki/3.5;
- document.write("Euro:"+euro+"<br >")
- document.write("Dolary:"+dolar+"<br >")
- document.write("<br >")
- if(zlotowki<100) {
- document.write("Masz malo kasy")
- }
- if(zlotowki==100) {
- document.write("Masz srednio kasy")
- }
- if(zlotowki>100) {
- document.write("Masz duzo kasy")
- }
- } else {
- document.write("Bledny przedzial")
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement