C practical file
C practical file
+incude estdao-h>
int main()
nt num,
Division tro.\n');
J brtak
include eStoioh
int main()5
Aagyl"ha",An):
3
to
roram pee basc inpd -outfut opraten
CAanguage
tnclude estioh
int main (){
Char name [5o];
nt
Poat marks;
print ("Entn your name "):
Bta (s', name);
print ("Ente yau age i" );
rint ("enter your masks );
Jan ("",& manks);
prin ("ln---jer Detils--\n");
print "Nhme: s ln",name );
"Mane 2f maks);
5) 1rogrm to implement eser
uncion
unt add nta,intb 01
neton atbj
to bem ert
+include /Stdioh?
int mainl ){
Lnt nun i
fint("Enten a nember ");
.,tnm);
num <o)
prnfattrial is not ngatie numberl
ele,
ct ial
neton 0;
dactoial lnum);
3
n==olln= =1)
e lie
netwn n* hceiad (n-1);
3
1) PRogm to nylemet One - dimenyonal ay n
angg
+nclue cstioh
int mnin({
Lnt n,
fin 'Entn the number of elemunt in the
ay:"):
An);
unt arn;
"Enten ha element siln';n);
ter lunt iz0;izn;itt);
yd,har1);
print ( The elemend, the aray ot :");
torlint izo; iLni itt
3
retnoi
Troganm o imie ment two- cdimens iomal amrak
Ln
tt ndde stio.h>
int main()
unt Jows, Cos;
aint "een the number rosi");
þriy"ater
'fntkr the number o Colmn'):
Say(/.d", os);
int ar bowg ou];
Porint ("Enten the element matrin: n")
Torl int /=o; /erows ;itt)l
forl int
print (" lemua at Et.d]
d],):
("In the matin is: \n"):
er int izo ;
Jolint j= o;j4ro0s;it+)
print jeCalsijtt)L
(elementh at Lr.a].a]:";
Sayl"d",
JI3
matin LJJ):
Void
cisplay Matrin( int yous jint Col gint matix
printy n the natrin is; w):
i=0; i2Yos;itt)
derlnt j=o ije Colsi jtt){
brin ("d", matrin [JI);
nt main ()
ent
rhun 0j
a) :s",Com rig Conatd Centat ("n brin|
h); lastt l(en Cat str
Castr AtbilCan
,strl); Atr efied Atrcby(
stloo]; þied (har
lo
la" 1. Str2);
Stri));
sting Jst Jengt
:"); Sting 9ets/sh2) er
tend ("EntAt oint
gts
:"): Shing frst(str);
("ntr þriny
[2eo]i Conatstr [2eo],
ct[loc7,St2 Char
main int
2stringh> inclde #
eStdio
h> incuude #
anihulatan 3string omhitmcat anguge Poegra ")
to
sh:s",
-1) string funo J1e
dirst Reversud ("ln foiny
);
(Shr Atyer
rater."
): sing
is
else
to inble ment Atuclwe in c larguag
t nclude ec{dieh?
Atucttuolet
Char nome Cho];
nt ro lLno;
Jat marksi
unt maiun 0
et Studont s);
priny ("Ente r Shdent de taidi?n");
prin ("Nune ");
Atuny ssrame);
Prin "Re tl number! ");
1. d",,L.orell. no);
Manks; ");
8S1.mads);
2stdio h
unt man()
union
Nan (".d",enpidl;
Jrhnl;
oleniy le n"):
your name. ;"):
Stany" s", rome );
Jlen);
Char Jine [ee];
while
Jine );
fllose (ile);
e,(hhis; ("):
lloo,3o faty out
tent
4o) o36 (?oo,2r ellipse
o,5o); lise 15o, Civele
Circk. Drawa
neng 1Drawa
loo); 2eo, loo, loe, (ine
I|ra
line
8ocs\l
G(¬ uni tgreph
(
mode mphicshics tiaie Iri I1
int
CO
main int
LCerio-h inchde +
ghhica.
h> *inclucle
Cin
Proqman
to