Breaking News
Loading...

Breaking News

Header Ads

CALCULATE THE GRAM TO PRICE

                CALCULATE THE PRICE






used:

step1 :Enter kg number do want to find price

step 2:Enter the price

output of the program see that

#include <stdio.h>
int main()
{
    float abcq;

    while (q == q)
    {
        printf("\nEnter kg number do want to find price:");
        scanf("%f", &a);

        printf("\nEnter the price:");
        scanf("%f", &b);
        c = (b / 1000) * a;

        printf("\nThe Answer is :%f"c);
    }

    return 0;
}

Post a Comment

1 Comments

 SQUID GAME