⚲
Project
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
Izobraževanje CS
All Projects
Izobraževanje CS
Overview
Activity
Issues
Spent time
Calendar
News
Documents
Wiki
Files
Repository
Download (207 Bytes)
Matematika je kul 2012
» lf_simple.pde
preprosta linearna funkcija -
Andrej Brodnik
, 09.09.2012 00:37
void
setup
()
{
int
y
;
for
(
int
x
=
0
;
x
<
100
;
x
++
)
{
y
=
lf
(
x
);
predstavi
(
x
,
y
);
}
}
int
lf
(
int
x
)
{
return
1
*
x
+
1
;
}
void
predstavi
(
int
x
,
int
y
)
{
println
(
"lf ( "
+
x
+
" ) = "
+
y
);
}
« Previous
1
2
3
4
…
6
Next »
(2-2/6)
Loading...