View Single Post
Mentor
17Feb2009,04:03  
xpi0t0s's Avatar
Put a for loop around the code you want to repeat:
Code:
cin<num_conversions;
for (int i=0; i<num_conversions; i++)
{
  // the code you want to repeat
}