Cod sursa(job #314782)

Utilizator telphanGherzan Theodor telphan Data 12 mai 2009 22:29:23
Problema A+B Scor 0
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.21 kb
#include<fstream.h>

int  main()

{ int a,b,c;
  fstream f("d:\\adunare.in",ios::in);
  fstream g("d:\\adunare.out",ios::out);
  f>>a;
  f>>b;

  c=a+b;
  g<<c;
  f.close();
  g.close();
  return 0;
}