C语言实验——求两个整数之和
Time Limit: 1000MS
Memory Limit: 65536KB
Problem Description
求两个整数之和,不从键盘输入数据,直接使用赋值语句(a=123;b=456)输入数据,然后计算两个整数之和输出。
Input
无输入数据。
Output
输出a和b之和。
Example Input
Example Output
sum is 579
#include<stdio.h> int main() { int a = 123,b = 456; printf("sum is %d",a + b); return 0; }