View Code of Problem 1

#include <iostream>

/* run this program using the console pauser or add your own getch, system("pause") or input loop */

int main(int argc, char** argv) {
	
	int a , b ;
	printf("请输入两个数:(格式如下:1 2 )\n");
	
	scanf("%d %d" , &a , &b);
	int c = a + b;
	printf("%d" , c);
	
	return 0;
}
/*
Main.c:1:20: fatal error: iostream: No such file or directory
 #include <iostream>
                    ^
compilation terminated.
*/

Double click to view unformatted code.


Back to problem 1