#include <stdio.h> int main(int argc, char *argv[]) { int i,j,k,max; printf("Please enter three integers:"); scanf("%d%d%d", &i, &j, &k); max = i>j?i:j; max = max > k?max:k; printf("max:%d",max); return 0; }
原文地址:https://www.cnblogs.com/black-/p/8998233.html
时间: 2024-10-11 05:15:26