1 // Problem#: 1000 2 // Submission#: 1612492 3 // The source code is licensed under Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License 4 // URI: http://creativecommons.org/licenses/by-nc-sa/3.0/ 5 // All Copyright reserved by Informatic Lab of Sun Yat-sen University 6 7 //第一次在Sicily写程序 8 //A-B的减法运算 9 #include <stdio.h> 10 11 int main() 12 { 13 int A,B;//定义AB为整型 14 scanf ("%d%d",&A,&B);//输入AB的值 15 printf ("%d\n",A-B);//输出A与B的差 16 return 0; 17 }
最简单的程序了……就是对C的初步涉入。