/*烟台大学计算机与控制工程学院
作者:汪莹莉
完成时间:2016年10月8
输入:
输入三个整数
输出:
输出其中的最大值
#include <stdio.h>
#include <stdlib.h>
int main()
{
int a,b,c,max ;
scanf ("%d%d%d",&a,&b,&c);
if(a>b)
{
max=a;
}
else
{
max=b;
}
if(c>max)
{
printf("%d\n",c);
}
return 0;
}
运行结果:
知识点总结·:if和else中,如果需要再次选择,可再次使用花括号
学习心得:程序的编译不再是之前的简单的,这是将raptor的可视化转变为清晰的思路