Input distance in km and print in m , cm and mm, simple programming question, beginner programming question, C program, JAVA Program

Input distance in km and print in m , cm and mm, simple programming question, beginner programming question, C program, JAVA Program
#include<stdio.h> int main(int argc, char const *argv[]) { int k; printf("Enter the distance in km:"); scanf("%d",&k); printf("Distance in m :%dm \n",k*1000); printf("Distance in cm :%dcm \n",k*100000); printf("Distance in mm :%dmm",k*1000000); return 0; }
Program by Anshul
Topics Covered :
- beginner interview questions
- amazon coding interview questions
- software engineer interview questions
- facebook coding interview questions
- microsoft coding interview question
- google interview question
- amazon coding interview question
- google coding interview question
- coding interview questions java
- google coding interview question and answer
- programming questions in interview
- software developer interview questions
- google programming interview question
Thanks for reading this blog. Hope you get satisfied with the blog and definitely this blog must have valued your time and effort of reading.
Take a time to connect our other digital creations such as Instagram , Facebook and Youtube.
Social Media Links of Tech DCode :
YouTube : https://www.youtube.com/channel/UCjJnEdeugftBwQ3yMuD4B_A
Instagram : https://www.instagram.com/thetechdcode/
Facebook Page : https://www.facebook.com/thetechdcode
Twitter : https://twitter.com/thetechdcode
Telegram Channel : https://t.me/thetechdcode
Tech DCode Linktree : https://linktr.ee/thetechdcode
My Personal Handles : https://linktr.ee/virtualshivamin
Social Media Links of SHIVAM SINGH (OWNER) :
Instagram : https://www.instagram.com/virtualshivamin/
Facebook Page : https://www.facebook.com/virtualshivamin/
Twitter : https://twitter.com/virtualshivamin/
Personal Linktree : https://linktr.ee/virtualshivamin