GLProgramming.com

home :: about :: development guides :: irc :: forums :: search :: paste :: links :: contribute :: code dump

-> Click here to learn how to get live help <-


New Paste :: Recent Pastes:: No Line Numbers


c programming by guest
1
 
#include <stdio.h>

int main()
{
    
    int starttemp, stoptemp, numaccurate, calculate
    
    printf("Enter Start temperature (in degrees) C:\n");
    scanf("%d",&starttemp);  
    printf("Enter Stop temperature (in edges C):\n ");
    scanf("%d",&stoptemp);
    printf("Enter temperature accuracy (in edges C):\n");
    scanf("%d",&numaccurate);
    printf("The conversion Table is:\n");
    
    for (starttemp=starttemp;stoptemp=stoptemp;numaccurate++)
    {
    printf("Celsius = %d\n",starttemp);
    calculate = 9/5(starttemp) + 32;
    printf("Farhenheit = %d\n",calculate);
    }
return 0;
}