0% found this document useful (0 votes)
4 views8 pages

C Language Basic Programs

The document appears to be a disorganized collection of text and symbols, lacking coherent structure or clear information. It includes references to numerical values and operations, possibly related to programming or mathematical functions. Overall, it does not convey a specific or understandable message.

Uploaded by

Alok Patel
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views8 pages

C Language Basic Programs

The document appears to be a disorganized collection of text and symbols, lacking coherent structure or clear information. It includes references to numerical values and operations, possibly related to programming or mathematical functions. Overall, it does not convey a specific or understandable message.

Uploaded by

Alok Patel
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

-

e
,. e

-:::::::

--- -

-
-

L'-
.... .. ..... I~ C
I
., ~~.--..~~
-',~(}.\ 111
...... A
r/~
-
, . -- .
-
-
. (q) (lJ'tr\f'\\ Tc: . n ~11 '\ ,mmf>rf
"
- I J
1r1

'
.. I
..

,TI f2, bG rocci ~errle~ rn C. . \,,


.

'
# i"()c\()de. <.<o-tdio ·h>
in--\ fr)Qll)() I
..
I
'-.!•··· , .
. ,;

in+ n1 = c, n2. = I
I
n3 I j I () u CY) b e-r i
yJ'o\ V")·H ( ,. en -\er{ ~e. n 1J rY\ 6 erf 0~ ") ; I
SCOf')f ( .:, Id '', nurn'oer;"') ;
( -· \ f\ -,. d ·;. d " , n1 , n'2 J ;
I

t2-c--r Ci = '2. ·., i "- nurr, b en( '.J i-+-+)


'
,• .
.. n.3::: n1-tn2. ·,
p'd'ir)t C( ,. ' l •d ". ng) ;
nt =-n'2. ·,
,_
()2. n3;
?
-
'--

~ o I·
f-._
}
.,,
-
-
e

c-------

0 ci ½ u.\- •
- 0

e.. ri -\-[Link] 4--t'\e.. nu rn 6cr{ of e.,\ e.1Y,erd s : s-


-
0 I r '2. 2

. C Poe:i 'oQ f't) C.,t\~\c. r:n-imc nurn6~

/n'Jrulnl"ll!C.._. tYr'ia
I
.. o'O m("()t"JY
'-I V

it )nclude <s+dio· h>


in+ fY')QJr-i C)
·-
I

1n-\- I,'
~. (Y) =: C , Stows~

s+cn-vs == o , fI s.\otus ·1n,-½i2~ +c z


po,rre._ oY no+ .. ·j ·
p"61n+f' C' en{er-o ¥le nu!T)bc..rt -+o ch_~c~
)

sco f'I f ( -· •1 d ., , <:!.. n )


rn ::: o I 2-

.•
r:>o-v Ci:::.. 2- 1 ,'.( fY) ·, ; -I- ;- )

1.(: Cn•,. i ~:::_c)


. -
-, ~ --
,s

I

I
p~ fll+ ('• n u rY) b &-1 Ylo+ p,-jr,,~ nu n,'c er.I ');

I
s-\Q:tvs::. 1
b--rl':O I< j
I
1 ;
""';-
]
H C<oWv-..s == z. 0 ) 1 " ·\

f)')1 n-+ (_ n u rY1 b er/ 'IS p')-\ "" C. // ) ;


0 .,I

1 '
-
·:--1\, .

e
e

- 00-\--pu+:
-
- +o c\-\edc. pa; rn <: O'"f f')o+-
eh-\e'"'( 0 nu rn bEn IS

nu rY\ 'o e7S' is (\at paime numb enr.


- ..
I

t:j)fnp)~ Glku\adoo' usin°' c.

-# \nc. h.1ck <. s-\-dicl"I',) (r;)c.u mouc.._.t"I" ,


I u
ncim01W
t

\ f)-t <na.J n C) 'f.-


', t

J, C~ai c'r\ ·,
#.~,, 1n+ nurn l , nvrn 2 :

I
pcnntr( -· choose. +t--.e. ope~-Y (--t. - , / ;~I •/.) : '') j
. s Ca() r ( , -i .c.. 6- Ch) ; 'I I

'r
- ()?'\ n-+ f ( -.1 e C"\i e-t +wo n u rY) ber>i c::' 011 ope '1fcu-i OI'\ : ') ; I

,, 2.) ;
scanr ( -· ·1-d -J-d .[Link] 1 , I') Ul'J')

s~i-+cl-) (cl-\)

cos~ I -+ '
p-nn-tf(-· ·/-d t'f.d :: \t ·/ ·d \\'\ 11
1
()UrY)I, l')Um2.,

f)ut"Y)+ nurn2..);

'o~k;
I

- CO Se.. ' - ' :


Y-J'D1' n+f ( ,, ·/-d---t-d ::: \t·f-d \Y\'', ()tJ(Y)f, nurn2.,
- ,, nu M
I

1:-'.· f) l) rnt-);
. -

I
e

- -

b~QK ;
-
-
[Link] ,, it ,, :

- P?-i'n-H ( ,, -r-d • -r. cl - \ t ·/ ·c.-l \ " ,,


'
r\L)fl) I I I") urn 2.. i
l°)Vf"Y) I 'If" nul'Y"\2) ;
'rn-eak ;

Cose I II

{))i I'\-\ r ('' -1-d I ·J. d ::.. \ t:. ·J·d '~ ,, I


I\UO"\ I , ()U<Y\2... 1 '·

I'"\ l)t'Y) , / n u rn 2 ) : 11
·, -~' ~i '

[Link]. " / ., . -,.,


I':> '
i

'l
_p~ r\ ·H C ·1-d •I . -J. -1 -d .::.. "\. t- ·r-d v ~ '', riurnr ,
num2. , numl ·, . numQ..) ;
' t)'"b"CO\( ·,
'
- <'
'
!--
-
.\,, .
Jdaul t. : ' \
print ( e~o'i" t. \ nvol \d op~~o-t ·,) ;

/
~c;t-c..rrn. O i

1
'

Ql)-\-pl.)+
e,hO"'t\S~ +r-.,c:., ope_~[Link]-Y (' + ,- , ~ , J ' '/.) : 7"
.......

- e. n-\- e_r-( -t-t..Jo nurf1be"T.S 10 2.o

- \0 1: 2..C =- 30 \

-
,-_
'

/I----._

/ t--._
.......

i,--

,-,---
,___
-- C p6o j 'aG.f1") +o -p_, nJ \[Link],~esl 'I I"') +[Link] numb~ ·.
,_

i-----

ii- <s+ci10 •h>


-
'1nch.i~
\ rv\- {'Y'\oj "' C)
,-: \ •.

-
P~ow r\UrY\ I I r\urn2, nu{"Y"'\3;

\Joi Y'\-\ p( : e, r\ -\- -e. "( .-+Y\o"t.e_ l"\Ulr)b~ ·) ;


SCar\r( ·' •f.f ·/·+- ·1.r I
&..r,uo,l , <!..r'\\J!Y'\'2. , ('.(r)Urr.'i 3 J;

,~ Cnort)? (\UrYi'2.)
@c..,ll o\ OU S- · p YO ')'oO mrnerY
,( (f'lurY)\ > ~nurri.3)

,, n UO'\ 1 )
p-r;n; r ( ,· 1a·~J~s+ nu rn be/"'6 i · / . 2....C ' " I :

<
3
e\se_

. ::~ rn,n-H ( -· \o~ ~s+ 11 u 07 beti :: ·I . '2 C \ r, '' n o 0") 3) ;

3
/

e. l.S e
/
,
/
{
\~ ( r\Vol2. ?~ nurn3)
/

p-n n-++ ( " \a ~,es+ numberY :: -J• 2..c \ o ·, , nurng) ;


.,,, ,_____

.,,, ,__ -
·a; ~ .,•

,
;
~lS~ r

/ t---

p~n-tr C \a'D'".Jas+ num\:)~ :: ·/ .


11
()Uf'l'"\3); :
_,, r-----_ u """
/ ----
J .
'
I

\
/

I '\t-l..,'-..
,,
-

-
-
-
1
~o;
-
\
-

0 lrr\)l)+ :

e..n-\..-eri +h.'re._c:._ n\.) h")be"'6" s 1'2 ·S 2..1 '6S-5


\o.'[Link]- nun.b-e'"'i '6S ·.3 i

::-;
~~IP PCXol-\~)d oC
·.
... :
'r, C. ·

-··

-tj- include <S-td,,io· r\)' rnK" UY\ 6 I k::


\n~-- rnO.:.riC.) ..· - . r1"'1r £1 '\ "'rr1
< J
I'(\ f\'\

'· ":
-
-
,nt I }J , '1mwS ·,
'•); -
Q1>\ ri-H-( - e'14 eri 'TY'\e I"\ UT"'\ 'o ert oC 'o"OGJS '

· s co n r ( -' -1- d ·· , ~[Link] ;

Po-Y ti - I ', i < -'<rn"S ·, '1 -\-i-) J


·\
~no(J-1 ~ j..(:: I J
.J +t ) s
,.,' l)"-nh1~('' .'N' .)
3
"'-

,~

(nl' n+P ( _:· ,n ,. ) ;


,~

/~
3 ;·
.......
,..

'o'du "Jr1) (J ;

/ C---
'j
.
l
/ 1----
l,/f·
.,.~
.'•
'.
e

I~'

cv+p u + :
'

*»- ' ,,I

*
)6,-
*
-

-- -
1.-''" .
r-\,.... .r-\ I,.._ '• -
•\I
-,. -
I I -, .

- - ~I)
urLU :\)E
-

'

-
nN
- l t I J.. ijR_~
- . 111 -- ,

! ( C, PL\ 'T'r\On1 Jav-o Hand WYl-\ tc n ho+C:'.S !


.
Up l6ded Or) ..\e \C:."flrO rri J
\'
- -

.d-} -
/-,. .. ~<;.--e.
~. ~'0!..
,ti' , -

' /,
.d'" -"
-,,

_/ .. - ,.
v --
'

v:
- I

- V "
I J

l"""
\....-
~,
\,I
- ~r. 1
_..

-- ~ i
..,
I
(
MI

I ..
I
l
\
'
l\i- ' -
'
In
'
.,,,._ .
M\0
-
'

. ------------------ --.---
------- I

------- ---
~-
I~_

You might also like