All pastes #434078 Raw Edit

Something

public text v1 · immutable
·published 2007-04-11 05:37 UTC
rendered paste body
                                                                     
                                                                     
                                                                     
                                             
#include <iostream.h>
#include <stdlib.h>
#include <stdio.h>

int main(int argc, char *argv[])
{
int Temps [15];

int i=1;
int F;
int C;
for  (i=1; i<16; i++)
{
F=0;
cout << "Enter Fahreinheit value " << i << " " ;
cin >> Temps[i];
}


for  (i=1; i<16; i++)
{
cout << "Converted Celsius value " << i << " ";
C = (((Temps[i] - 32)*5)/9);
cout << C << endl ;

}


  cout << "All temperatures processed" << endl  ;
       system("PAUSE");
      return 0;
}