// A simple program to convert a number of quarts to liters
// Version 1:  global variables only

#include <iostream.h>                     /* reference to I/O library */

int quarts;                               /* declarations */
double liters;                            /* double = real */

int main (void)                          /* beginning of main program */
{  cout << "Enter volume in quarts: " ;   /* input prompt */

   cin >> quarts;                         /* read */

   liters = quarts / 1.056710 ;           /* arithemtic, assignment */

   cout << quarts << " quarts = "
        << liters << " liters" << endl;   /* write text and new line */

   return 0;                              /* no errors found when program run*/
}

