adspace
how to write a program to accept names and marks of 10
students from the user and display the names and markes of
only the passed students. Marks greater than or equal to
35 is considered as pass.
Answer Posted / sandeep chitta
set x=createobject("scripting.dictionary")
for i=1 to 10
x.add i,i*10
next
c=""
for i=1 to x.count
if x(i) >35 then
c=c&i&" "&x(i)&vbnewline
end if
next
msgbox c
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
No New Questions to Answer in this Category !! You can
Post New Questions
Answer Questions in Different Category