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;
}
0 Comments
if you have any doubt, plz let me know