We are asked to write a VBA function which returns the corresponding grade point according to...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
We are asked to write a VBA function which returns the corresponding grade point according to the input argument grade. You can assume that grade always contains a valid letter grade. Finish the below function Grade Point (). (10 marks) Function GradePoint (grade as string) As Double deal with the letter only. That is, Grade Point = InStr (__, "FDCBA", Left ( 1 Grade Point = 1 deal with the sign now If Right ( GradePoint = ElseIf Right ( GradePoint End If End Function ignore the sign for now )) = "+" Then ) = "-" Then O We are asked to write a VBA function which returns the corresponding grade point according to the input argument grade. You can assume that grade always contains a valid letter grade. Finish the below function Grade Point (). (10 marks) Function GradePoint (grade as string) As Double deal with the letter only. That is, Grade Point = InStr (__, "FDCBA", Left ( 1 Grade Point = 1 deal with the sign now If Right ( GradePoint = ElseIf Right ( GradePoint End If End Function ignore the sign for now )) = "+" Then ) = "-" Then O
Expert Answer:
Answer rating: 100% (QA)
InStr InStr Start String1 String2 Compare returns the position ... View the full answer
Related Book For
Numerical Methods With Chemical Engineering Applications
ISBN: 9781107135116
1st Edition
Authors: Kevin D. Dorfman, Prodromos Daoutidis
Posted Date:
Students also viewed these programming questions
-
A vapour compression refrigerator works under the following conditions as shown in the table below. The working fluid is just dry at the end of compression. Plot: 1. the cycle very clearly on P-h and...
-
Design a Java class that represents a cache with a fixed size. It should support operations like add, retrieve, and remove, and it should evict the least recently used item when it reaches capacity.
-
In Problems 23 34, graph each system of linear inequalities. x - 2y 6 2x - 4y 0
-
Huebert Corporation and Winslow Corporation reported the following information: Calculate each companies fixes-asset turnover ratio and determine which company utilizes its fixed assets most...
-
Geographers use remote-sensing data from satellite pictures to identify urban land cover as either grassland, commercial, or residential. In Geographical Analysis (Oct. 2006), researchers from...
-
How has natural selection acted on testosterone levels in men? Is there an ideal testosterone level for all phases of a mans life?
-
You are a practicing CPA at Gibbons, Johnson & Tannun, LLP. You recently received a new medium-sized client, ABI, Inc., a construction company that builds and renovates office buildings. Since the...
-
In the second section, you will expand upon the value proposition by addressing the following related to the product or service you have selected to highlight for this business: Describe the role of...
-
Exercise 6.1 Configuring Memory on Paper Objective: a computer is not performing as well as it used to. Windows 10 tool would the technician get the user to open to quickly tell how much RAM is...
-
Assume these facts: 50 employees with an average hourly rate of $18, working 8 hours per day with a day unpaid lunch. The employees average 75 hours of overtime per year. Holidays and vacations are...
-
The Eagle Company's quality control service recently purchased a piece of testing equipment that detects potential issues in production. It intends to offer this machine to be used by external...
-
Let q be a prime power and let S(F) be the set of subspaces of F. Viewing S(F2) as a poset ordered by containment, show that ({0}, F) = (1)^q() where U, V = S(Fn) and k - dim(V) dim(U). (Hint: Use...
-
Calculate preferred stock dividend (calculations required). What is the annual per share dividend required for an 8%, $200 par value preferred stock that was issued for $210?
-
a) Identify the mouse and elephant statements. b) Determine the big Oh for the following algorithm c) Explain how you reached your conclusion int sum = 0; for(int I= 0; I <100 ; I++) { } for(int J=...
-
FPB Semiconductor is a SEC registered enterprise whose business is in providing "computer chips" to a number of multinational computer giants such as APPLE, SAMSUNG and LENEVO. Historically, the...
-
Write a short note on the aeration and agitation process in fermentation.
-
Review Exhibit 11.4. Analyze each product on the graph according to the characteristics that influence the rate of adoption. For example, what can you conclude from the data about the relative...
-
Write aMATLAB program that computes the product in Eq. (1.4.1) until it exceeds a particular value s max . S= j=jo (1.4.1)
-
Consider the method of lines solution to the unsteady diffusion equation subject to an initial condition c = 1 and first-order depletion reactions on each boundary, n J = kc, where n is an outward...
-
Perform the first two iterations of Jacobis method for the system of equations using an initial guess x = 0. 6 -2 1 2 10-3 2 3 8 -6 10 10 13 -2 9 X1 X2 X3 X4 || -9 9 17 13
-
Powerhouse Ltd purchased machinery on 2 January 2019, at a cost of $800 000. The machinery is depreciated using the straightline method over a useful life of 8 years with a residual value of $80 000....
-
The purchases and sales of Big Flower Pty Ltd of one brand of lawn fertiliser for the year ended 31 December 2019 are contained in the schedule below. The selling price up to 30 June was $12 per unit...
-
In groups of four or five, consider the following information. On 1 July 2019, Stevenson Pty Ltd, a proprietary company with three shareholders, acquired some property by issuing 100 000 shares to...
Study smarter with the SolutionInn App