Cod sursa(job #210901)

Utilizator MatahArdelean Selma Matah Data 29 septembrie 2008 21:46:46
Problema A+B Scor 100
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.27 kb
#include<stdio.h>
int a,b,c;
void citeste(), scrie();
int main()
{
	citeste();
	scrie();
	return 0;
}
void citeste()
{
	freopen("adunare.in","r",stdin);
	freopen("adunare.out","w",stdout);
	scanf("%d%d",&a,&b);
}
void scrie()
{
	c=a+b;
	printf("%d",c);
}