main(){double ting,xie,du,shuo;scanf(%f%f%f%f,&ting,&xie,&du,&shou);if(ting>=5.0&&xie>=5.0&&du>=5.0&&shuo>=5.0) { if(ting+du+xie+shuo>=6.0) printf("合格"); else printf("不合格") } ; else printf("不合格");};