Computer Science, asked by ksnegi061974, 9 months ago

Dim name as string
Dim a, b, c, Total, rn as Integer.
Dim per as Double
name = Text box 1 . Text
rn = Val (Text box 2. Text?)
a =val (Text box 3. Text)
b =val*(Text Box 4.Text)
C = val( Text Box 5. Text)
total= a+b+c
per = total /3
if Per )50 then
msg = "you are qualified"
msg Box="you are not qualified"
End . find the output​

Answers

Answered by asia2089172
1

Answer:

Since this sounds a LOT like you homework, I won't give you any code!

But it isn't difficult at all:

1) Create a "total" variable to hold the result. Set it to zero.

2) Loop though each character in the input string - a For Each loop will do that very easily.

2.1) Check if the character is a digit i.e. '0' to '9'

2.2) If it is, convert it to a numeric value, and add it to your total

2.3) If it isn't, either ignore it, or report the problem and exit the method - your choice.

3) After the loop, set the Text property of teh second text box to the total, using the ToString method.

Explanation:

Brainliest Please

Answered by geetabhuppy
1

Answer:

hai a lot for you can you give us an opportunity to meet up the same way you for a couple weeks and the other hand in a way I was going through it will work with your company and its really appreciate the offer for this

Similar questions