1 2 3 4 5 6 7 8
clc //initialisation t=6000//k r=17000 //CALCULATIONS T=6000*17000^0.25 //results printf(' \n temperature of the star= % 1f k',T)