This question already has an answer here:
I had windows 7 in C drive and windows 8.1 in D drive. But I installed Ubuntu 13.10 and the system got formatted. I wanted to have 3 OS. But lost the other two. I didnt make any partitions.Now I want to uninstall Ubuntu and install windows 8.1, How to do it?> P.S : I dont know much about partioning.