Saturday, 23 June 2012

how to convert miles into kilometer using c++



This is the source code to convert miles into kilometer
#include<iostream.h>
#include<conio.h>
main()
{
      float miles,km;
      cout<<"enter the value in miles:";
      cin>>miles;
      km=miles*1.609;
      cout<<miles<<"miles="<<km<<"kilometer";
      getch();
      }
End

2 comments:

  1. Proficient devices for mileage reset over OBD and manual programming for experts and beginers! Month to month refreshes. Merchant's markdown. here are possibilities for the odometer redress, odometer mileage amendment instrument, mileage adjustment, mileage programming, odometer mileage revision and speedometer mileage remedy.

    ReplyDelete