#include<iostream>
using namespace std;


int main()
{
 float num;

 // Get initial number
 cout << "Give me a number: ";
 cin >> num;

 // Loop while num is not 0
 while (num!=0)
 {
   // Report 100 divided by number
   cout << "100/" << num << " is "
        << 100.0/num << endl;

   // Get new number
   cout << "Give me a number: ";
   cin >> num;
 }

 // When exit while loop, point out
 // you can't divide by 0
 cout << "Cannot divide by 0!\n";

 return 0;
}