Đang Thực Hiện

133983 Easy VB Grades Arrays

Basically this is what I need...

Suppose letter grades are assigned as follows:

97 and above A+

94-96 A

90-93 A-

87-89 B+

84-86 B

80-83 B-

77-79 C+

74-76 C

70-73 C-

67-69 D+

64-66 D

60-63 D-

0-59 F

Write a simple program that accepts a grade number as input and displays the corresponding letter. Set up an array range() containing the values 97, 94, 90, 87, 84,�.., 0 and the parallel array letter() containing A+, A, A-, B+,�,F. Next, perform a sequential search to find the first i such that range(i) is less than or equal to the input grade.

I think they want to use a While...Wend statement if possible (if not, that's fine) and it needs to be Option Explicit and done in Visual Basic 6. I need it done by Friday, May 4th 2007. Thanks!

Kỹ năng: Bất kì công việc gì, Visual Basic

Xem thêm: simple easy search, grades, Arrays, visual basic grade, explicit, statement letter, sequential search, simple array program, letter statement, array sequential search, sequential, grades visual basic, values statement, letter grade, program easy, input visual basic

Về Bên Thuê:
( 1 nhận xét )

Mã Dự Án: #1880154