Hi i need a little help on a program im working on it ask the user for a keyboard character and a number of rows and columns
to look like this
RRRRR
R___R
R___R
R___R
RRRRR
and also this in another program
rrrrrr
rrrrrr
rrrrrr
rrrrrr
I currently have
<html><body>
<script type="text/javascript">
// Declare variables and constants
var userInputText; // user input to go
var numRow; // number of the rows
var NumCol; // number of the columns
var ES = ""; // empty string
userInputText = prompt("Enter a keyboard character",ES);
numRow = prompt("Enter the number of rows",ES);
NumCol = prompt("Enter the number of columns",ES);
//need a nested loop to draw the character box
</script>
</body>
</html>
if any one can help me finish this program i would appreciate it