answersLogoWhite

0


Best Answer

Divide it by 1000.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you write program to convert meter to kilometer in c plus plus?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Write a program to convert a 2 digit BCD number into hexadecimal number?

Write a program to convert a 2-digit BCD number into hexadecimal


2 Write a program to convert a 2-digit BCD number into hexadecimal?

WRITE A PROGRAM TO CONVERT A 2-DIGIT bcd NUMBER INTO HEXADECIMAL


How do you write a c program to convert binary to decimal by using while statement?

write a c++ program to convert binary number to decimal number by using while statement


What is more kilometers or meters?

It takes 1,000 meters end-to-end to reach 1 kilometer. 1 kilometer is longer than 1 meter. A distance is a larger number when you write it in meters than it is when you write it in kilometers.


How to write a program that converts inches into centimeters feet yards and meters in C plus plus?

#include <iostream> using namespace std; int main() { double meter, cent; cout<<"Enter value in meters"; cin>>meter; cent=meter*100; cout<<meter<<" meters"<<" = "<<cent<<" centimeters; system("pause"); return 0; } to convert more than one number put the whole program in a for loop


How many millimeters are in fifty-five kilo meters?

Well there are 1000 milimeters in a meter and there are 1000 meters in a kilometer. Lets convert the 55 kilometers into meters first. We get 55 (kilo) x 1000 (meters per kilo) = 55000 kilometers Now we can convert the meters into milimeters. 55000 (meters) x 1000 (milimeters per meter) = 55000000 milimeters We can write this using "scientific notation" as 5.5 x 10^7


Write a Program to convert decimal number into hexadecimal no without using function and string?

This is not a question.


Write a C program to convert hexadecimal number into decimal number?

pongada punda vayanungala ..................


Write a program to convert stack into queue using c language?

In order to write a program to convert stack into queue using c language you must be able to identify the proper program. Having a special certification in programing will be beneficial as well to make sure you recognize the proper queues for the programs.


How many liters in cubic kilometer?

A cubic kilometer is a volume while a kilometer is a length. You can't convert one to the other. Just remember that when you have a cubic kilometer it is volume the size of 1 km long, 1km wide and 1km high.


What is SAP give you the brief solution?

Write a program to convert a 2-digit BCD number into hexadecimal


How do you write a program in C to convert capital letters into small letters?

Use the tolower() function in the C standard library.