In this chapter we will make a simple converter that converts relative intensity to absolute intensity or the other way around.
INPUTS:
A user can either enter an absolute intensity in W/m2 or a relative intensity in dB.
A button can be clicked which will convert from one to the other.
OUTPUTS:
Whichever box is left blank is what we are converting to.
CRITERIA & CONSTRAINTS:
Clicking the button will convert the intensities.
Your program should have an impressive interface. (colors and graphics)
Use an if statement to check which entry box is blank so we know what we are converting to.
To calculate the log base 10 of a number, you need to take the log of the number divided by the log of 10.
This program should be fairly easy so I'm not giving any more Pseudocode.