之前学过python了,现在学c语言记录一下一些学习心得以供后续参考
#define _CRT_SECURE_NO_WARNINGS
#include
int main()
{
/*char arr1[]="abc";
char arr2[]={'a','b','c'};
printf("%s\n",arr1);
printf("%s\n",arr2);
printf("%d\n",
"c:\test\32\test.c");
scanf();*/
/* int input=0;
printf("加入比特\n");
printf("do you study hard?(1/0)>:");
scanf("%d",&input);
if(input==0);
printf("you will get a good offer");
else
{printf("you will be a rubbish ");
*/
int num1=10;
int num2=20;
if (num1>num2)
printf("较大值是:%d\n",num1);
else
printf("较大值是:%d\n",num2);
return 0;}
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)