Milk Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 25253 Accepted Submission(s): 6841 Problem Description Ignatius drinks milk everyday, now he is in the supermarket and he wants to choose…
#include <stdio.h>#include <string.h>struct milk{ char brand[128]; int price; int volume; double value;}a[100];int main(void){ int i,t,n,d; struct milk tmp; scanf("%d",&t); while (t--){ scanf("%d",&n); for (i=0; i&l…