Tuesday, 17 December 2013

Convert Temperature Celsius to Fahrenheit Using c++

#include<iostream.h>

#include<conio.h>

void main()

{

  clrscr();

  int choice;

  float temp,conv;

  cout<<"celsius to fahrenheit"<<"\n";

  cout<<"enter temp. in celsius";

  cin>>temp;

  conv=(1.8*temp)+32;

  cout<<conv;

  getch();

}

link : Convert Temperature fahrenheit to celsius

No comments:

Post a Comment