I Make A Program
Watch THIS Video.
Video:
LINK:https://code.visualstudio.com/download
CODE:
#include<stdio.h>
int main()
{
float a,b,c;
printf("\nEnter the gram Value:");
scanf("%f",&a);
printf("\nEnter the produer price:");
scanf("%f",&b);
c=(b / 1000)* a;
printf("\nAnswer is:%f",c);
return 0;
}
2 Comments