Download Print this page

Casio PB-2000C Manual page 49

Hide thumbs Also See for PB-2000C:

Advertisement

?l
&ûpuûbg chuæaæ
As you cu s
herc, C prognm æ getreElly writt{
u6irg lmr
cæ chanctcÉ Abo
notc thc follwing chaBctcs in lin6 l, 2 and 5 of the prcgro:
l""t
I
I
Tbæ
æ call€d thetuctrbtr
that mk6
up the C program. The word "mais"
defins
the
fundioD
nmq
and the rtat@qts
bdwn
thc bp6
æ âctually æuted,
Aslually
]ou
m
æign
yow function
any nffic
lDu wish, but "msin"
i$ spæia! in that the computer
will alwys
bcgin wtion
from the function
named "min".
Litr6
3 ild
4 @ûtain two prinlf
statms!$
The primf
stât@cnt
is actually
a function
of C luguage
that is ùsed ao output chamcF
to thê display. Such fùtrstioG
æ
callcd
ûendud
îuætîo8-
The chect$
srings includcd within rh€ pacnth*s
follwing
printf
ar whai is output to the display. Note that a crrgmdra Jtring is defined æ such by b€irg
included within doublc quotation
|Mks.
A chaarlr
itrirg
or anything cls thât is imludcd
within
the porentheses is catled aû ugwnt,
Thc " \ !" ât thc od of thc tso printf
chæcta
strinç
is ca-llcd a @trir.
chrnctcr,
ad
it adnn6
wtput
to thc left magin
of thc nqt
linq Hæ
thc ndlinc
chæcær
i! at thc
fld
of thc itring,
but
'ou
qtr ale
include it within thc string to tcll the @mpùtq
to go
to thc b€ginning
of the trqt
liDe
Nq
lci'i
flter
the inlrprcter
to amte
this prcgnm.
'Ib do this, prcss the fuclion
lry
undq Jc
I while in rhc cdior.
Aftsr you perfomed
the prtredwc
dscribed
âbovq the æmputer
will cnt{
tbc iûarprctcr,
load th€ unmed
file &d
3tând by for fu{her
input.
NEW
LO A o " "
Re a d y
Nw
fller
the RUN conmand
ud
pro
$|.
-
I[iai.li6
-
ldd!
uûM
fk
-
SEnd!
ùy for iûF
RUN EI
Thc $m
srclls
as 6ults
æ output to the display, ad
thc computcr
stands by for fur-
thcr iûput fouqint
@ution.
H o w a r e
yo u ?
F i n e ,
th a n k
yo u
Re ad y
t8

Advertisement

loading