Jump to content

User input/Graphical: Difference between revisions

add JavaScript
(Added Perl.)
(add JavaScript)
Line 303:
String string = JOptionPane.showInputDialog ("Enter a String");
}
}</lang>
 
=={{header|JavaScript}}==
{{works with|FireFox}} or any JavaScript-enabled browser
<lang javascript>var str = prompt("Enter a string");
var value = 0;
while (value != 75000) {
value = parseInt( prompt("Enter the number 75000") );
}</lang>
 
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.