#include <stdio.h>int max (int a,int b) { return a > b ? a : b;}struct E{ int w; &...