24.03.2015 Views

c_ders_notlari

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Bir tam sayının karesi reel sayının ise 2 katını alan programı aşırı yükleme ile yapınız.<br />

#include<br />

using namespace std;<br />

double islem(int x) {return x*x;}<br />

double islem(double x) {return 2*x;}<br />

void main()<br />

{<br />

double a;<br />

int b;<br />

cin>>a>>b;<br />

cout

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!