write a program to accept a value in kg and convert into its equivalent gram value
Answers
Answered by
0
Answer:
Explanation:
// Kilogram into Gram Conversion in C
#include<stdio.h>
#include<conio.h>
int main()
{
float kg, g;
printf("Enter weight in Kilogram: ");
scanf("%f", &kg);
g = kg*1000;
printf("Equivalent weight in Gram = %0.2f", g);
getch();
return 0;
}
Similar questions