Wow...that’s a long paragraph
Choose Start→All Programs→Windows Virtual PC and then select Virtual Machines. Double click the new machine. Your new virtual machine will open onto your desktop. Once it's open, you can install any operating system you want.
Answer:
The method is as follows:
double square(int num){
return num*num;
}
Explanation:
Written in C++
This first line defines the method
double square(int num){
This line returns the square of num
return num*num;
}
<em>I've added the full program as an attachment where I include the main method</em>