Ad Code

NEW POST

6/recent/ticker-posts

Nathan was a student by morning and a computer nerd by night .

 Nathan was a student by morning and a computer nerd by night .


#include <stdio.h>

int main()

{int prodid,billid,quantity;

float price,totprice;

scanf("%d",&billid);

scanf("%d",&prodid);

scanf("%f",&price);

scanf("%d",&quantity);

totprice=price*quantity;

printf("%0.2f",totprice);


return 0;

}

Post a Comment

0 Comments