Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

*there are no numerical values included in the question - it needs to be solved

ID: 3788587 • Letter: #

Question

*there are no numerical values included in the question - it needs to be solved for whatever numbers you input in the program

solve in Visual Basic 2015 - from Intro to Visual Basics 2015 10th Edition Chapter 3.2 Exercise 62

Equivalent Interest Rates // Interest earned on municipal bonds from an investor's home state is not taxed, whereas interest earned on CDs is taxed. Therefor, in order for a CD to earn as much as a municipal bond, the CD must pay a higher interest rate. How much higher the interest rate must be depends on the investor's tax bracket. Write a program that allows the user to enter a tax bracket and municipal bond interest rate and then finds the CD interest rate with the same yield. Note: If the tax bracket is expressed as the decimal, then CD interest rate = municipal interest rate/(1-tax bracket)

Explanation / Answer

Answer

Public Class Test
Public Shared Sub Main()
Dim tax_bracket as Double
Dim municipal_bond_IR as Double
Dim CD_IR as Double
System.Console.WriteLine("Please enter tax bracket = ")
tax_bracket=Console.ReadLine()
System.Console.WriteLine("Please enter municipal bond interest rate = ")
municipal_bond_IR=Console.ReadLine()
CD_IR=municipal_bond_IR/(1-tax_bracket)
System.Console.WriteLine("CD interest rate = " & CD_IR)
End Sub
End Class