generating a times table?
Can anyone pls tell me how to do this:
generate a times table for a particular number (0-12). You will want to validate that the input is 0-12. If it is not an alert, or some type of message, should appear requesting the correct input.
the following files should be present:
A form that will ask the user for input. This file should be named:
the asp file will contain a loop that will write to the screen the following information:
Times table for 4
For validation of the users input you can validate in either your times.htm or calc_table.asp file. If you choose to validate in your ASP file use a subform
After you dim your variables you will need to call your subform.
I will really appreciate your help
what's the name of the teacher that i should hand this in to?
cal = request.form("cal")
if cal = "" then
<form action="/timetable.asp" method="post">
<table width="90%" border="0" cellspacing="0" cellpadding="4">
<td width="14%">Time table:</td>
<td width="86%"><select name="multi" id="multi">
<td><input type="submit" name="Submit" value="Submit">
<input name="cal" type="hidden" id="cal" value="yes"></td>
multi = request.form("multi")
startat = 0
endat = 12
for i = startat to endat
total = multi * i
response.write multi & " X " & i & " = " & total & "<BR>"
To answer you question Dave, yes I did at every opportunity to no avail. My school days were mainly spend somewhere else instead of being in classes. I was told to leave school when I was 16 and get a job and never got the opportunity to take any exams. Computers as a subject was nonexistent, our computer class have 20 BBC’s (I think that’s what they were called) and 4 RM nimbus PC’s for around 800 pupils.
You are correct, I shouldn’t have handed the answer over so easily but I feel Syma still has a bit of work to do to get the code to comply with the assignment criteria, if it is an assignment and were aren’t jumping to conclusions. Anyway if you still feel it is morally wrong of me to help as much as I did then feel free to delete my post. And Taz please in future keep your tongue in your mouth and not sticking out at me. (joking, , lol)
It seems like I have generated quite a debate! yes, guys this is an assignment but only a small part of a larger project. Plus I was not asking anyone to hand me the solution on a silver platter. I needed some help and guidance which I thought was the purpose of this forum. We are allowed to seek help as this is an online course, hence the students are pretty much on their own as you cannot get the level of instruction as you can in an "in class" course.
Its up to you to delete the post if you want, Dave and thanks a lot Ribeyed for trying to help me out.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)