Create an error trap (using IfElse statements) that displays an error message when a non-numeric value is entered or no value is entered.
If Not IsNumeric(input) Then MessageBox.Show("Number is not numeric", "Input Error") ElseIf CDbl(input) < 0 Then MessageBox.Show("No numbers were entered") Exit Sub End If
Write a SQL statement that results in the first name and last name of all customers who have a first name that begins with the letter A from a table called 'Customers'
SELECT FirstName, LastName FROM Customers WHERE FirstName LIKE 'A%'
ABC Co. has total assets of $9,500,000 and a total asset turnover of 1.5 times. If the return on assets is 7.5%, what is its profit margin?
The profit margin is 5%. The equation for return on assets is as follows: return on assets = profit margin * total asset turnover Rearranging this equation so we can solve for profit margin results in this equation: profit margin = return on assets/total asset turnover When we plug in the values, we end up with this: profit margin = 0.075/1.5 = 5%