Hello, for my online class I should write a a line wich displays the Percentage of the Earth Layers. I choose the fprintf command and set the calculatet Percentage in it.
fprintf('\nPercentage of the EarthLayer:\nCore: %.1f%%\nMantle: %.1f%%\nCrust: %.1f%%\n\n',PercentCore,PercentMantle,PercentCrust)
Now I would like to save this as a .txt file. But when i type "save" and try to save it, it just saves a .txt file with the Number 74, I really don't get what i'm doing wrong...
Can anybody help me?