• Nie Znaleziono Wyników

33_Overlapped_fn_2

N/A
N/A
Protected

Academic year: 2021

Share "33_Overlapped_fn_2"

Copied!
2
0
0

Pełen tekst

(1)

//============================================================== // Funkcje; przeciazanie funkcji - 2 (overlapped).

//

// ver data temat autor // 100 2001/10/11 Pierwszy projekt J.Malinowski // 102 2019/08/25 Cleanup JM //============================================================== #pragma hdrstop #pragma argsused #include <iostream> #include <conio.h> using namespace std; //============================================================== // Prototypy funkcji

int Square( int ); float Square( float ); double Square( double );

//============================================================== int main() { int ix=5; float fx=15.5; double dx=25.5; cout << endl << ix << "^2 = "; ix = Square( ix ); cout << ix; cout << endl << fx << "^2 = "; fx = Square( fx ); cout << fx; cout << endl << dx << "^2 = "; dx = Square( dx ); cout << dx << endl; getch(); return 0; } //============================================================== // Implementacje funkcji

int Square( int x ) {

cout<<" (f-cja z \"int-em\") "; return x*x;

(2)

float Square( float x ) {

cout<<" (f-cja z \"float-em\") "; return x*x;

}

double Square( double x ) {

cout<<" (f-cja z \"double-m\") "; return x*x;

}

Cytaty

Powiązane dokumenty

Orzeczenia lekarskie, wydane jedynie przez lekarza specjalistę w dziedzinie medycyny sportowej, a w przypadku braku lekarza specjalisty lekarza medycyny

Zadania omówione na ćwiczeniach 22.02.2016 (grupa 1, poziom

Znale´ z´ c mase ι sfery jednostkowej o ge ι sto´ sci powierzchniowej r´ ownej odleg lo´ sci od osi

(At this point one can see why Lemma 1 was applied with two different values of X.) On the other hand, lim Y →∞ J (m, n, Y ) = 0 by applying the same lemma to the innermost

Keywords: convex nondifferentiable minimization, projection method, subgradient method, acute cone, obtuse cone.. 1991 Mathematics Subject Classification:

Criteria for analytic continuation into a domain of a function given on part of the boundary.. Solutions to this problem were given

Data lekcji: 27.04.2020 1 godzina lekcyjna- kontynuacja będzie na kolejnej lekcji Wprowadzenie do tematu: kontynuacja tematu ciągi.. Instrukcje do pracy własnej

Obiad Zupa jarzynowa z makaronem /wywar mięsny drobiowy: kurczak; marchewka, pietruszka, seler, por, kapusta włoska, brukselka, lubczyk, liść laurowy, kminek, ziele