Look up, either in a textbook or online, the ratio of the luminosity of the star to the luminosity of the sun. Take the square root of this value. You can calculate star radius from the formula (star's radius)/(Sun's radius) = (Sun's temperature/star's temperature)^2 --- Sqrt[star's luminosity/Sun's luminosity].
Look up the ratio of the sun's temperature to the star's temperature. Square this value.
Calculate the ratio of the star's radius to the Sun's radius by multiplying your value from Step 2 by your value from Step 1.
Multiply the value in Step 3 by the radius of the Sun, 695,000 kilometers. This will give you the radius of the star.
Multiply the value in Step 4 by 2 to calculate the diameter of the star.