Đang Thực Hiện

133985 VB Grade 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: grades, grade, arrays, visual basic grade, explicit, sequential search, simple array program, letter statement, array sequential search, sequential, grades visual basic, values statement, letter grade, input visual basic

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

Mã Dự Án: #1880156

Đã trao cho:

dperlberger

I've written a VB6 demo. Please see PMB for details.

$25 USD trong 0 ngày
(0 Đánh Giá)
0.0