specify more your problem and condition :
- you didn't give a condition for the result. how the result can show "High Distinction" (<20) or other result (> 20 = "?", > 50 = "?" ).
- how far you was tried??
"We only give homework help to those who show effort"
try to write code with this pseudo code :
on button click event
pseudo code :
labelTotal = val(text1.text) + val(text2.text) + val(text3.text)
if labelTotal.text < 20 then
Result.text = "High Distinction"
else if labelTotal.text > 20 and labelTotal < ??? then
Result.text = "????"
.... etc..etc
End if
end of button event
i know you can do this Friend :)
Jx_Man
Nearly a Senior Poster
3,329 posts since Nov 2007
Reputation Points: 1,372
Solved Threads: 444
Fail:
Awarded to any student who scores either
-a total score less than 15
- less than 5 in two or more assignments
o High Distinction:
Awarded to any student who has both
- A total score greater or equal to than 23
- Not scored less than 5 in any assignment
o Pass:
- Anyone who has not scored a Fail or High Distinction
i confused with your if statment !!!
this a condition if not wrong :
* Fail
- TotalScore < 15
- (Ass1 + Ass2) < 5 or (Ass1 + Ass3) < 5 or (Ass2 + Ass3) < 5 or (Ass1 + Ass2 + Ass3) < 5
* High Distinction
- TotalScore > 23 --> it could be 24,70, 100 or greater
- Ass1 or Ass2 or Ass3 > 5
* Pass
- Anyone who has not scored a Fail or High Distinction???
how it could be??not scored a Fail or High Distinction??
- in condition ofHigh Distinction, TotalScore > 23 (-> 24, 50, 70, 100 ... and greater than 23) so what a condition for pass? whether who get HighCondition is pass?
Jx_Man
Nearly a Senior Poster
3,329 posts since Nov 2007
Reputation Points: 1,372
Solved Threads: 444