8/13/2019 foc new
http://slidepdf.com/reader/full/foc-new 1/58
M . A . M C O L L E G E O F E N G I N E E R I N G
DEPARTMENT OF I NFORMATION TECHNOLOGY
L A B M A N U A L
GE2115 Computer Practice Laboratory –I
1 | P a g e
8/13/2019 foc new
http://slidepdf.com/reader/full/foc-new 2/58
LIST OF EXERCISES
S.NO TITLE PAGE
NO
MICROSOFT WORD
1 Document formatting
2 Tet mani!u"ation #it$ %cientific notation%
& Ta'"e Creation an( Ta'"e formatting
) Mai" merge
* F"o# c$art
MICROSOFT EXCEL
+ C$art creation, Formu"a e(itor
- Inc"u%ion of o'.ect/ !icture an( gra!$ic%/ !rotecting t$e (ocument an( %$eet
0 orting an( Im!ortingE!orting (ata
C PROGRAMMING
13 im!"e ca"cu"ator
11 Age in term% of 4ear /mont$ an( (a4
12 Greate%t of t$ree num'er%
1& A%cen(ing an( (e%cen(ing or(er
1) 5u''"e %ort
1* Re6er%e t$e arra4 e"ement%
1+ Matri a((ition
1, Matri mu"ti!"ication
1- e7uentia" %earc$
10 Factoria" u%ing recur%ion
23 tu(ent mar8 "i%t u%ing %tructure
.NO:1a
DOCUMENT
CREATION
Aim: To create a 5io9(ata in M%9#or(
Procedure:
Step 1: %e"ect %tart !rogram Micro%oft #or(
Step 2: c"ic8 !age La4out%i:e to %etu! t$e !age %i:e
2 | P a g e
8/13/2019 foc new
http://slidepdf.com/reader/full/foc-new 3/58
Step 3: T4!e t$e !er%ona" 'io9(ata
Step 4: T4!e t$e information an( c$oo%e t$e re7uire( font %i:e an( a"%o
!erform ot$er formatting
Step 5: c"ic8 Fi"e%a6e
Step 6: C"o%e t$e (ocument after %a6ing;
Result: T$u% 5io9(ata in #or( i% create( an( 6erifie(;
Otpt:
!"IO DATA!
Name < ;An'uc$e:$i4an
Fat$er name < A;argunam
Age < 1-Gen(er < Ma"e
=ua"ification < >2/
A((re%% < 8a%anga(u/
Pattu88otai
T$an.a6ur;
Nationa"it4 < In(ian
Language 8no#n < Tami"/Eng"i%$
& | P a g e
8/13/2019 foc new
http://slidepdf.com/reader/full/foc-new 4/58
.NO:1
b
TEXT MANIPULATION WIT# SCIENTIFIC NOTATIONS
Aim:
To mani!u"ate t$e tet (ocument #it$ %cientific notation u%ing M%9#or(
Procedure:
Step 1: e"ect %tart !rogram Micro%oft #or(
Step 2: C"ic8 Fi"ene# an( entrie% are t4!e(
Step 3: In formu"a #e $a6e to u%e %u'%cri!t an( %u!er%cri!t num'er% ;#e
$a6e t$e %4m'o"% a"%o
Step 4: To in%ert t$e %4m'o" In%ert%4m'o" ;Step 5: Comman( ctr"> %$ift > > for %u!er%cri!t an( ctr" > ? for %u'%cri!t
Step 6: After e(iting %a6e t$e (ocument;
Result: T$u% tet i% mani!u"ate( #it$ %cientific notation u%ing m%9#or(
Otpt:
Scientific Notations:
@A>5 2 ? A2 >52 >2A5
E?MC2
2Na@OH2>C"22NaC">2H2O>O2B
3;330--? 0;--139&
) | P a g e
8/13/2019 foc new
http://slidepdf.com/reader/full/foc-new 5/58
.NO:2
TA"LE CREATION AND FORMATTING
Aim: To create t$e ta'"e an( format t$e create( ta'"e con6ert t$o%e ta'"e
into tet format u%ing M%9#or(
P$%&e'$e:
Step 1: e"ect %tart !rogramMicro%oft #or(
Step 2: C$oo%e I()e$t Table menu an( %!ecif4 num'er of co"umn% an(
ro#%;
Step 3: e"ect Ta'"e t$en goto Ta'"e Too"% menuDe%ignTa'"e %t4"e%
Step4: CONERTING THE TA5LE TO TET
a; %e"ect ta'"e t$en goto In%ertta'"econ6ert ta'"e to tet '; t$e ta'"e information i% con6erte( into tet
Step 5: CONERTING THE TET TO TA5LE
a; %e"ect tet t$en goto In%ertta'"econ6ert tet to ta'"e
'; t$e tet information i% con6erte( into ta'"e
Result:
T$u% t$e ta'"e i% create(/ formatte( con6er%ion i% !erforme(;
Otpt:
TABLE CREATION
ROLL NO NAME MAR*1 MAR*2 MAR*3
031 Arun ,+ ,) +*
032 aranra. -, +- --
03& Da6i( ,0 02 -1
03) uguna -2 +0 -*
TABLE AUTOFORMATTIN
ROLL NO NAME MAR*1 MAR*2 MAR*3
&-31 ure%$ ,+ ,) +*
&-32 aranra. -, +- --
&-3& ine8a ,0 02 -1
&-3) Ee%$#ari -2 +0 -*
* | P a g e
8/13/2019 foc new
http://slidepdf.com/reader/full/foc-new 6/58
CON!ERTIN TABLE TO TE"T
ROLL NO NAME MAR*1 MAR*2 MAR*3
&-31 ure%$ ,+ ,) +*
&-32 aranra. -, +- --
&-3& ine8a ,0 02 -1
&-3) Ee%$#ari -2 +0 -*
CON!ERTIN TE"T TO TABLE
ROLL NO NAME MAR*1 MAR*2 MAR*3
&-31 ure%$ ,+ ,) +*
&-32 aranra. -, +- --
&-3& ine8a ,0 02 -1
&-3) Ee%$#ari -2 +0 -*
+ | P a g e
8/13/2019 foc new
http://slidepdf.com/reader/full/foc-new 7/58
.NO:3
MAIL MERGE
Aim: To !erform mai" merge o!eration for %en(ing a!!"ication to man4
com!anie%
Procedure:
Step1< %tart a ne# (ocument
Step 2 < To %tart mai" merge/ c$oo%e Letter% an( Mai"ing% from Too"%
menu;%te! mai" merge #i:ar( a!!ear%;
Step 3. In te! 1/ %e"ect Letter% a% t$e (ocument t4!e an( c"ic8 net;
Step 4< In te! 2/ %e"ect %e t$e current (ocument a% %tarting one an( c"ic8
net
Step 5; In te! &/ %e"ect T4!e a ne# "i%t an( c"ic8 Create;Step 6; A Ne# A((re%% Li%t (ia"og #it$ (efau"t fie"(% a!!ear%; C"ic8
Cu%tomi:e an( c$ange t$e %tructure #it$ fie"(% Name / A((re%%/ Cit4/ i!
co(e/
Step +; A(( recor( for eac$ '4 c"ic8ing Ne# Entr4; Fina""4 c"ic8 C"o%e/
%a6e t$e (ata fi"e an( c"ic8 net; A mai" merge too"'ar a!!ear%
C"ic8 net
Step ,; In te! */ !re6ie# t$e "etter for eac$ reci!ient '4 c"ic8ing t$e
na6igation
'utton in t$e mai" merge too" 'ar Step -; C"ic8 net to com!"ete t$e merge an( eit$er Print or E(it t$e "etter%;
Result:
T$u% mai" merge i% !erforme( for %en(ing a!!"ication to man4 com!anie%
an( 6erifie(
STEP 1: N/0t0( t% 0 e$e $%p 0( R0%(
, | P a g e
8/13/2019 foc new
http://slidepdf.com/reader/full/foc-new 8/58
STEP 2: See&t te D%&e(t Tpe
STEP 3:See&t )t$t0( '%&e(t
- | P a g e
8/13/2019 foc new
http://slidepdf.com/reader/full/foc-new 9/58
STEP 4:See&t $e&0p0e(t) tpe (e7 0)t C0&8 &$ete
Step 5: E(te$ te 0)t 'et0)
0 | P a g e
8/13/2019 foc new
http://slidepdf.com/reader/full/foc-new 10/58
STEP 6:S/e te L0)t
STEP +:N%7 tpe te Lette$
13 | P a g e
8/13/2019 foc new
http://slidepdf.com/reader/full/foc-new 11/58
STEP ,:G% t% M00() t I()e$t Me$e 90e' See&t te F0e'
STEP -: I()e$t te 90e' 0(t% te '%&e(t 7e$e/e$ (e&e))$
11 | P a g e
8/13/2019 foc new
http://slidepdf.com/reader/full/foc-new 12/58
STEP 1:C0&8 O( P$e/0e7 $e)t) t% )ee te e$e' 90e'
STEP 11:F0( &0&8 %/e$ F0(0) (' e$e E'0t 0('0/0' '%&e(t)
12 | P a g e
8/13/2019 foc new
http://slidepdf.com/reader/full/foc-new 13/58
.NO:4
DRAWING ; FLOW C#ART
A0:
To create f"o#c$art for a !rogram an( cour%e c$art u%ing In%ert menu;
F%7 C$t:
Ena'"e t$e Dra#ing too"'ar or c$oo%e Picture from In%ert menu an( %e"ect
Auto%$a!e%/ auto %$a!e too"'ar a!!ear%;
T$e fo""o#ing %4m'o"% from F"o#c$art %ection of Auto$a!e% arecommon"4 u%e(
tart to!
In!ut Out!ut
Proce%%
Deci%ion
Connector
To in%ert tet/ rig$t c"ic8 on t$e %4m'o" an( c"ic8 A(( Tet
Connect t$e %4m'o"% u%ing connector or "ine%
Dra# t$e f"o#c$art accor(ing"4 to t$e a"gorit$m for t$e gi6en !ro'"em
Re)t:
T$e f"o#c$art for a gi6en !rogram an( cour%e c$art i% create( u%ing
Picture o!tion% from In%ert menu;
1& | P a g e
8/13/2019 foc new
http://slidepdf.com/reader/full/foc-new 14/58
DRAWING FLOWC#ARTS
1) | P a g e
TART
READ A/5/C
I
A5
IAC
I5C
PRINT JC I
GREATERK
PRINT JA I
GREATERK
PRINT J5 I
GREATERK
TOP
FALE TRE
FALEFALE
TRETRE
8/13/2019 foc new
http://slidepdf.com/reader/full/foc-new 15/58
1* | P a g e
8/13/2019 foc new
http://slidepdf.com/reader/full/foc-new 16/58
MICROSOFT EXCEL
Micro%oft Ece" i% t$e mo%t #i(e"4 u%e( an( 6er%ati"e %!rea(%$eet
!ac8age; A %!rea(%$eet i% a ta'"e of +**&+ ro#% an( 2*+ co"umn% into #$ic$
(ata i% entere(; !rea(%$eet ma8e% it !o%%i'"e to format (ata/ mani!u"ate u%ing
function%/ in%ert !icture%/ create c$art% an( re!ort%/ im!orte!ort (ata/ !rotect
%$eet/ etc an( ai(% in (ata ana"4%i%;
Gett0( St$te'
To %tart M Ece"/ tart Run an( t4!e e<&e
To #or8 #it$ a ne# '"an8 %$eet c"ic8 Ct$ = N;
C"ic8 S/e from File menu to %a6e t$e #or8%$eet #it$ eten%ion .<)
1+ | P a g e
8/13/2019 foc new
http://slidepdf.com/reader/full/foc-new 17/58
.NO:5
C$t ; L0(e> X?> "$ (' P0e
Aim:
To create (ifferent t4!e% of c$art% @"ine%/ 4/ 'ar !ie
Procedure:
te!1< Enter t$e (ata in t$e #or8%$eet
te!2< c$oo%e c$art o!tion from t$e in%ert menu or c$oo%e t$e c$art #i:ar(
from t$e %tan(ar( Too" 'ar
te!&< %$o#% t$e c$art #i:ar( %te! 1 To ) c$art t4!e (ia"og 'o;
te!)< c$oo%e t$e a!!ro!riate c$art t4!e from t$e c$art t4!e "i%t 'o t$en
c"ic8 net;
te!*< %$o# t$e c$art #i:ar( 2 To ) c$art %ource/ (ata (ia"og 'o t$en c"ic8
net
te!+< %$o# t$e c$art #i:ar( & To ) c$art o!tion (ia"og 'o $ere 4ou can
gi6e t$e c$art tit"e% 4 ai%/ tit"e% etc t$en c"ic8 net
te!,< %$o# t$e c$art #i:ar( %te! ) of ) c$art "ocation (ia"og 'o t$en c"ic8
fini%$;
te!-< no# t$e c$art i% (i%!"a4e( on 4our acti6e #or8%$eet
Result:
T$u% (ifferent t4!e% of c$art i% create( u%ing m%9ece"
1, | P a g e
8/13/2019 foc new
http://slidepdf.com/reader/full/foc-new 18/58
Out!ut<
"AR C#ART
LINE C#ART
1- | P a g e
8/13/2019 foc new
http://slidepdf.com/reader/full/foc-new 19/58
8/13/2019 foc new
http://slidepdf.com/reader/full/foc-new 20/58
.NO:6
F%$ ; 9%$ e'0t%$
Aim:
To !re!are a #or8 %$eet for %toring %u'.ect mar8% of t$e %tu(ent% u%ing
formu"a an( function% an( to ca"cu"ate t$e %tu(ent an( %u'.ect #i%e tota"
an( a6erage mar8%;
Procedure:
te! 1< Create a ne# #or8 %$eet in M%9Ece"/ '4 c"ic8ing tart Program
M%9Ece";
te! 2< C"ic8 t$e ce"" in #$ic$ 4ou #ant to enter t$e formu"a for fin(ing t$e
tota" of eac$ %tu(ent;
te! &< Enter t$e 13 num'er of %tu(ent (etai"% into t$e re%!ecti6e ce""%;
te! )< Ne# t4!e? @can e7ua" %ign fir%t an( t4!e t$e turn %um @ #$ic$
e7ua"% to %um of t$e %u'.ect mar8% an( fina""4 !re%% JEnterK; No# t$e
tota" mar8% of fir%t %tu(ent are (i%!"a4e( in t$e ce"";
te! *< Re!eat t$e te! * an( ) to get t$e in(i6i(ua"% tota" mar8% of eac$
%tu(ent% i% in t$e ce""%;
te! +< No# c"ic8 on t$e ce"" an( t4!e t$e formu"a ? A6erage @ an( u%e
t$e !roce(ure% from t$e remaining ce""%;
te! ,< A!!"4 ? um @ formu"a to fin( t$e tota" of eac$ %u'.ect;
Result:
T$u% t$e #or8 %$eet for %toring %u'.ect mar8% of t$e %tu(ent% u%ing formu"a
an( function% i% create( an( out!ut i% 6erifie(;
23 | P a g e
8/13/2019 foc new
http://slidepdf.com/reader/full/foc-new 21/58
Otpt
FORMULA EDITOR
21 | P a g e
8/13/2019 foc new
http://slidepdf.com/reader/full/foc-new 22/58
.NO:7
Sp$e' Seet ; I(&)0%( %9 O@e&t> P0&t$e ('
G$p0&) p$%te&t0( te '%&e(t (' )eet
Aim:
To create a #or8%$eet #it$ inc"u%ion of o'.ect/ !icture an( gra!$ic% an( to !rotect t$e (ocument an( %$eet
Procedure:
Step 1< Create a ne# #or8%$eet in M%9Ece" '4 c"ic8ing tart Program%
M%9Ece";
Step 2< In%erting o'.ect in t$e #or8 %$eet; T$ere are man4 o'.ect% can 'e
in%erte( into t$e #or8 %$eet;
a; C$oo%e o'.ect o!tion in t$e in%ert menu;
'; C$oo%e !icture o!tion form t$e in%ert menu;
c; C$oo%e a!!ro!riate o'.ect from t$e Auto$a!e menu at t$e
(ra#ing too"'o;
Step 3< In%erting a !icture
• e"ect In%ert Picture From Fi"e
• No# t$e in%ert !icture (ia"og 'o i% %$o#n
• Na6igate an( c$oo%e t$e !icture to in%ert into t$e #or8 %$eet c"ic8 on
in%ert 'utton
• No# t$e %e"ecte( !icture i% in%erte( into M%9or(;
Step 4< Protect a %$eet in M%9Ece"; C"ic8 on ce""/ #$ere to in%ert a !icture;
• C$oo%e Re6ie# Protect Document an( t$en c$oo%e Protect $eet;
It %$o#% t$e !rotection (ia"og 'o a%8ing for t$e !a%%#or( to !rotect
%$eet;
• T4!e t$e !a%%#or( an( c"ic8 o8; It #i"" a%8 for confirmation
!a%%#or(/ t4!e t$e %ame !a%%#or( again an( t$en c"ic8 O
22 | P a g e
8/13/2019 foc new
http://slidepdf.com/reader/full/foc-new 23/58
• No# t$e %$eet i% un(er !rotection
• To remo6e !rotection/ Re6ie# Protect Document n!rotect
$eet; T$en t4!e t$e !a%%#or( to un!rotect
Results:
T$u% t$e #or8%$eet i% create( #it$ t$e gi6en feature% an( out!ut i%
6erifie(;
%te! 1< INERT PICTRE
te! 2< INERT O5ECT
2& | P a g e
8/13/2019 foc new
http://slidepdf.com/reader/full/foc-new 24/58
te! &< INCLUSION OF PROTECTION
te!<) NPROTECT HEET
2) | P a g e
8/13/2019 foc new
http://slidepdf.com/reader/full/foc-new 25/58
.NO:8
S%$t0( (' Ip%$t E<p%$t 9et$e)
Aim:
To !re!are a #or8%$eet to %ort t$e %tu(ent (etai"% an( im!ort t$e (ata to t$e
#or8%$eet
Procedure:
SORTING T#E DATA
te! 1< Enter t$e %tu(ent (ata'a%e in t$e #or8%$eet
te! 2< e"ect t$e co"umn to 'e %orte(
te! &< C"ic8 Data ort o!tion in menu 'ar
te! )< T$e %ort (ia"og 'o a!!ear%
te! *< e"ect t$e %orting t4!e @A%cen(ingDe%cen(ing an( c"ic8 JO8K
te! +< No# t$e "i%t i% %orte( a% %!ecifie(;
IMPORTING T#E DATA
te! ,< To im!ort t$e (ata/ c"ic8 Data Get Eterna" Data Im!ort Tet
Fi"e;
te! -< Im!ort Dia"og #i"" a!!ear;te! 0< e"ect t$e fi"e to im!ort in ece" (ocument an( c"ic8 JIm!ortK
'utton;
te! 13< Fina""4 t$e (ata i% im!orte( in t$e current (ocument;
Results:T$u% t$e (ata $a% 'een im!orte( an( %orte( in t$e ece" (ocument;
2* | P a g e
8/13/2019 foc new
http://slidepdf.com/reader/full/foc-new 26/58
IMPORTED DATA:
te! 1<
te! 2<
2+ | P a g e
8/13/2019 foc new
http://slidepdf.com/reader/full/foc-new 27/58
te! &<
te! )<
2, | P a g e
8/13/2019 foc new
http://slidepdf.com/reader/full/foc-new 28/58
te! *<
te! +<
2- | P a g e
8/13/2019 foc new
http://slidepdf.com/reader/full/foc-new 29/58
20 | P a g e
8/13/2019 foc new
http://slidepdf.com/reader/full/foc-new 30/58
C PROGRAMMING
C i% a !o#erfu"/ !orta'"e an( e"egant"4 %tructure( !rogramming "anguage; It com'ine%
feature% of a $ig$9"e6e" "anguage #it$ t$e e"ement% of an a%%em'"er an( t$erefore/ %uita'"e for
#riting 'ot$ %4%tem %oft#are an( a!!"ication !ac8age%; It i% t$e mo%t #i(e"4 u%e( genera"9
!ur!o%e "anguage to(a4; C $a% 'een u%e( for im!"ementing %4%tem% %uc$ a% o!erating
%4%tem%/ com!i"er%/ "in8er%/ #or( !roce%%or% an( uti"it4 !ac8age%; It i% a ro'u%t "anguage
#$o%e ric$ %et of 'ui"t9in function% an( o!erator% can 'e u%e( to #rite an4 com!"e !rogram;
Program% #ritten in C are fa%t an( efficient;
T$% C IDE
Tur'o C IDE faci"itate% e(iting/ (e'ugging an( eecution of a!!"ication% #rittenin C;
C !rogram% are %a6e( #it$ .& eten%ion; ome of t$e %$ortcut 8e4%
are<
Ctr" > F1F2F&Co!4CutPa%teC"ear
He"!a6eO!enCtr" > In%$ift > De"$ift > In%Ctr" > De"
A"t > F0Ctr" >F0A"t > F*F,A"t > F&A"t >
Com!i"eEecute%er creenTrace IntoC"o%e=uit
&3 | P a g e
8/13/2019 foc new
http://slidepdf.com/reader/full/foc-new 31/58
.NO:9
SIMPLE MENU DRIBEN CALCULATOR
Aim:
To #rite a C Program to #rite a %im!"e menu (ri6en ca"cu"ator !rogram u%ing
%#itc$ %tatement;
Pseudocode:
ET num1/ num2/ an%1/ an%2/ c$oice
READ t$e 6a"ue of num1 num2
READ t$e value of choice
CASE CHOICE
ELECT 1< an% 1<?num1>num2
PRINT t$e 6a"ue of an% 1
ELECT 2< an% 1<?num 19num 2
PRINT t$e 6a"ue of an% 1
ELECT &< an% 1<?num 1num 2
PRINT t$e 6a"ue of an% 1ELECT )< an% 2<?@f"oatnum 1num 2
PRINT t$e 6a"ue of an% 2
DEFALT<
PRINT RONG CHOICE;
END CAE
TOP
Pro#ram:
Qinc"u(e%t(io;$
Qinc"u(econio;$
6oi( main@
S
int num1/num2/an%1/c$oice
8/13/2019 foc new
http://slidepdf.com/reader/full/foc-new 32/58
f"oat an%2
c"r%cr@
!rintf@ enter t#o num'er%
%canf@U(U(/num1/num2
!rintf@ enter 4our c$oice Vn 1;A((ition Vn 2;u'traction Vn
&;Mu"ti!"ication Vn );Di6i%ion Vn
%canf@U(/ c$oice
%#itc$@c$oice
S
ca%e 1<
an%1?num1>num2
!rintf@A((ition ?U(/an%1
'rea8
ca%e 2<
an%1?num19num2 !rintf@u'traction ?U(/an%1
'rea8
ca%e &<
an%1?num1num2
!rintf@Mu"ti!"ication ?U(/an%1
'rea8
ca%e )<
an%2?@f"oatnum1num2
!rintf@Di6i%ion ?U(/an%2
'rea8
(efau"t<
!rintf@#rong c$oice
'rea8
W
getc$@
W
Result:
T$u% t$e !rogram to create %im!"e menu (ri6en ca"cu"ator u%ing %#itc$ $a% 'een%ucce%%fu""4 eecute(;
OTPT FOR ADDITION<
enter t#o num'er
**
++
enter 4our c$oice
8/13/2019 foc new
http://slidepdf.com/reader/full/foc-new 33/58
1;A((ition
2;u'traction
&;Mu"ti!"ication
);Di6i%ion
1
A((ition?121
OTPT FOR 5TRACTION<
enter t#o num'er
+,
++
enter 4our c$oice
1;A((ition
2;u'traction
&;Mu"ti!"ication );Di6i%ion
2
u'traction?1
OTPT FOR MLTIPLICATION<
enter t#o num'er
)
2
enter 4our c$oice
1;A((ition
2;u'traction
&;Mu"ti!"ication
);Di6i%ion
&
Mu"ti!"ication?-
OTPT FOR DIIION<
enter t#o num'er
** *
enter 4our c$oice
1;A((ition
2;u'traction
&;Mu"ti!"ication
);Di6i%ion
)
8/13/2019 foc new
http://slidepdf.com/reader/full/foc-new 34/58
8/13/2019 foc new
http://slidepdf.com/reader/full/foc-new 35/58
FINDING AGE IN TERMS OF ?EAR> MONT# AND DA?
Aim:
To #rite a C Program to fin( age in term% of 4ear%/ mont$% an( (a4%
Pseudo Code:
ET 4ear%/mont$%/noX(a4%/1&Z?
S3/&1/2-/&1/&3/&1/&3/&1/&1/&3/&1/&3/&1W/mont$%*Z/ 'irt$X4ear/ mont$/'irt$X(a4/
to(a4X4ear/to(a4Xmont$/to(a4X(a4
READ 'irt$X4ear/ 'irt$Xmont$/'rit$X(a4
PRINT t$e (ate of 'irt$
READ to(a4X4ear/to(a4Xmont$/to(a4X(a4
PRINT t$e to(a4 (ate
COMPTE 4ear%?to(a4X4ear9'irt$X4ear IF 'irt$Xmont$ i% GREATER THAN to(a4Xmont$
4ear%?4ear%91
IF 'irt$X(a4 GREATER THAN to(a4X(a4
ELE
mont$%?to(a4Xmont$9'irt$Xmont$>12
(a4%?to(a4X(a49'irt$X(a4
END IF
ELE
IF 'irt$X(a4 GREATER THAN to(a4X(a4
mont$%?to(a4Xmont$9'irt$Xmont$91
noX(a4%?'irt$Xmont$Z9'irt$X(a4
(a4%?'irt$X(a4>noX(a4%
ELE
mont$%?to(a4Xmont$9'irt$Xmont$
(a4%?to(a4X(a49'irt$X(a4
END IF
PRINT t$e 6a"ue of 4ear/mont$/(ate
Pro#ram:
Qinc"u(e%t(io;$
Qinc"u(econio;$
Qinc"u(e%tring;$
6oi( main@
S
int 4ear%/mont$%/(a4%/noX(a4%
8/13/2019 foc new
http://slidepdf.com/reader/full/foc-new 36/58
%tatic int 1&Z?S3/&1/2-/&1/&3/&1/&3/&1/&1/&3/&1/&3/&1W
c$ar mont$*Z
int 'irt$X4ear/'irt$Xmont$/'irt$X(a4
int to(a4X4ear/to(a4Xmont$/to(a4X(a4
c"r%cr@
!rintf@Vn enter t$e 'irt$4ear
%canf@U(/'irt$X4ear
!rintf@Vn enter t$e 'irt$mont$
%canf@U(/'irt$Xmont$
!rintf@Vn enter t$e 'irt$(a4
%canf@U(/'irt$X(a4
!rintf@Vn 4our (ate of 'irt$ U(9U(9U(/'irt$X(a4/'irt$Xmont$/'irt$X4ear
!rintf@Vn enter t$e to(a44ear
%canf@U(/to(a4X4ear
!rintf@Vn enter t$e to(a4mont$%canf@U(/to(a4Xmont$
!rintf@Vn enter t$eto(a4(a4
%canf@U(/to(a4X(a4
!rintf@Vn to(a4[% (ate i% U(9U(9U(/to(a4X(a4/to(a4Xmont$/to(a4X4ear
4ear%?to(a4X4ear9'irt$X4ear
if@'irt$Xmont$to(a4Xmont$
S
4ear%?4ear%91
if@'irt$X(a4to(a4X(a4
S
mont$%?to(a4Xmont$9'irt$Xmont$>12
noX(a4%?'irt$Xmont$Z9'irt$X(a4
(a4%?noX(a4%>'irt$X(a4
W
e"%e
S
mont$%?to(a4Xmont$9'irt$Xmont$>12
(a4%?to(a4X(a49'irt$X(a4
WW
e"%e
S
if@'irt$X(a4to(a4X(a4
S
mont$%?to(a4Xmont$9'irt$Xmont$91
noX(a4%?'irt$Xmont$Z9'irt$X(a4
8/13/2019 foc new
http://slidepdf.com/reader/full/foc-new 37/58
(a4%?'irt$X(a4>noX(a4%
W
e"%e
S
mont$%?to(a4Xmont$9'irt$Xmont$
(a4%?to(a4X(a49'irt$X(a4
W
W
!rintf@Vn 4our age i% U( 4ear% U( mont$% U( (a4%/4ear%/mont$%/(a4%
getc$@
W
Out!ut
enter t$e 'irt$4ear 10-,
enter t$e 'irt$mont$ 0
enter t$e 'irt$(4 20
4our (ate if 'irt$ i% 2090910-,
enter t$e to(a44ear 2330
enter t$e to(a4mont$ 11
enter t$e to(a4(a4 +
to(a4[% (ate i% +91192330
4our age i% 224ear% 1mont$ &3(a4%
Result:
T$u% t$e !rogram to fin( t$e age in term% of 4ear%/ mont$% an( (a4% $a% 'een
eecute( %ucce%%fu""4;
.NO:11
GREATEST AMONG T#REE NUM"ERS
8/13/2019 foc new
http://slidepdf.com/reader/full/foc-new 38/58
Aim:
To #rite a C !rogram to fin( greate%t among t$ree num'er% ;
Pseudo Code:
5EGIN
DECLARE t$e 6aria'"e a/'/c
GET t$e 6a"ue% of a/'/c
IF A 5 AND AC THEN
PRINT a i% greater
ELE IF 5C THEN
PRINT ' i% greater
ELE
PRINT c i% greater
END IFEND
PRORAM:
6oi( main@
S
int A/5/C/D?3
c"r%cr@
!rintf@VtVt PROGRAM FOR FIND THE LARGET NM5ER AMONG THREE
NM5ERVN
!rintf@Vn ENTER THREE NM5ER < 9 Vn
!rintf@Vn A?
%canf@U(/A
!rintf@Vn 5?
%canf@U(/ 5
!rintf@Vn C?
%canf@U(/ C
if@@A5@AC
S
!rintf@Vn GREATET NM5ER I A? U( /A
W
e"%e if@5C
S
!rintf@Vn GREATET NM5ER I 5? U(/5
W
e%"e
8/13/2019 foc new
http://slidepdf.com/reader/full/foc-new 39/58
S
!rintf@Vn GREATET NM5ER I C ? U(/C
W
W
getc$@
W
Result:
T$u% t$e c !rogram co(e to fin( greate%t among t$ree num'er% $a% 'een eecute(
%ucce%%fu""4
OUTPUT:
PROGRAM FOR FIND THE LARGET NM5ER AMONG THREE
NM5ER
ENTER THREE NM5ER < 9
A?*
5?+
C?13
GREATET NM5ER I C ?13
.NO:12
ASCENDING DESCENDING ORDER
$ Aim:
To create a !rogram for %orting t$e num'er in an arra4 a%cen(ing an( (e%cen(ing
or(er;
Pseudocode:
8/13/2019 foc new
http://slidepdf.com/reader/full/foc-new 40/58
ET n/ i/ ./ tem!
ET arra4 a13Z
READ t$e 6a"ue of n
FOR i<?3 To n TEP 1
READ t$e 6a"ue of aiZa.Z THEN
ET tem!<?aiZ
aiZ <?a.Z
a.Z <?tem!
END IF
END FOR
END FOR
FOR i?3 To n TEP 1
PRINT t$e 6a"ue of aiZ
END FORFOR i?n91 To 3 TEP 1
PRINT t$e 6a"ue of aiZ
END FOR
TOP
Pro#ram:
Qinc"u(e%t(io;$
Qinc"u(econio;$
6oi( main@
S
int a13Z/n/i/./tem!
c"r%cr@
!rintf@Enter t$e no of 6a"ue%
%canf@U(/n
!rintf@Enter t$e e"ement% one '4 oneVn
for@i?3ini>>
%canf@U(/aiZ
for@i?3ini>>S
for@.?i>1.n.>>
S
S
tem!?aiZ
aiZ?a.Z
8/13/2019 foc new
http://slidepdf.com/reader/full/foc-new 41/58
a.Z?tem!
WWW
!rintf@Vn A%cen(ing or(er
for@i?3ini>>
!rintf@VtU(/aiZ
!rintf@Vn De%cen(ing or(er
for@i?n91i?3i99
!rintf@VtU(/aiZ
getc$@
W
OUTPUT
Enter t$e no of 6a"ue% *
Enter t$e e"ement% one '4 one
2&12
*)
,+
03
A%cen(ing or(er 12 2& *) ,+ 03
De%cen(ing or(er 03 ,+ *) 2& 12
RESULT:T$u% t$e !rogram to %ort t$e num'er in a%cen(ing an( (e%cen(ing or(er $a% 'een
eecute(
.NO:13
"U""LE
SORT
Aim:
To im!"ement 'u''"e %ort u%ing C
Pseudo Code:
5EGIN
ET con%t int NMEL ? 13
8/13/2019 foc new
http://slidepdf.com/reader/full/foc-new 42/58
ET num%NMELZ ? S22/*/+,/0-/)*/&2/131/00/,&/13W
DECLARE i/ mo6e%
AIGN t$e 6a"ue of mo6e% '4 CALL 5u''"eort@num%/ NMEL
for i ? 3 i NMEL INCREMENT t$e 6a"ue of i
PRINT num%iZ
5u''"eort@int numZ/ int nume"
TART "oo!
int i/ ./ gra(e/ mo6e% ? 3
FOR i ? 3 i @nume" \ 1 INCREMENT t$e 6a"ue of i
FOR . ? 1 . nume" INCREMENT t$e 6a"ue of .
IF @num.Z num.91Z THEN
gra(e ? num.Z
num.Z ? num.91Z
num.91Z ? gra(e
INCREMENT t$e 6a"ue of mo6e%END LOOP
RETRN t$e 6a"ue% of mo6e%
END
Pro#ram:
Qinc"u(e %t(io;$
int 5u''"eort@int Z/ int
int main@
S
con%t int NMEL ? *
int num%NMELZ ? S1/*/&/)/2W
int i/ mo6e%
mo6e% ? 5u''"eort@num%/ NMEL
!rintf@ T$e %orte( "i%t/ in a%cen(ing or(er/ i%<Vn
for @i ? 3 i NMEL >>i !rintf@U( /num%iZ
return 3
W
int 5u''"eort@int numZ/ int nume"
S
int i/ ./ gra(e/ mo6e% ? 3
8/13/2019 foc new
http://slidepdf.com/reader/full/foc-new 43/58
for @ i ? 3 i @nume" 9 1 i>>
S
for@. ? 1 . nume" .>>
S
if @num.Z num.91Z
S
gra(e ? num.Z
num.Z ? num.91Z
num.91Z ? gra(e
mo6e%>>
W
W
W
return mo6e%W
Out%ut:
T$e %orte( "i%t/ in a%cen(ing or(er/ i%<1 2 & ) *
Result:
T$u% 'u''"e %ort $a% 'een im!"emente( u%ing c
.NO:14
R EBERSE T#E ARRA? ELEMENTS
Aim:To create a C !rogram for re6er%ing t$e gi6en %tring
Pseudo code:
ET n/.
ET arra4 a13Z
READ t$e 6a"ue of n
FOR i <?3 To n TEP 1
READ t$e 6a"ue of aiZ
8/13/2019 foc new
http://slidepdf.com/reader/full/foc-new 44/58
END FOR
FOR i <?n91 To 3 TEP 1
PRINT t$e 6a"ue of aiZ
END FOR
TOP
Pro#ram:
Qinc"u(et(io;$
Qinc"u(econio;$
Qinc"u(e %tring;$
6oi( main@
S
c$ar name-3Z/name1-3Z
int i?3.?3
c"r%cr@ !rintf@JEnter t$e %tring to re6er%e <K
get%@name
#$i"e @nameiZ]?^V3^
i>>
#$i"e@99i?3
S
name1.>>Z?nameiZ
W
name1.Z?^V3^
!rintf@JRe6er%e( %tring < U%K/ name1
getc$@
W
Out%ut:
Enter t$e %tring to re6er%e < $e""o
Re6er%e( %tring < o""e$
Result:T$u% t$e !rogram to re6er%e t$e gi6en %tring $a% 'een create( an( eecute(
%ucce%%fu""4;
8/13/2019 foc new
http://slidepdf.com/reader/full/foc-new 45/58
.NO:15
MATRIX ADDITION
Aim:
To create a C !rogram for !erform t$e matri a((ition;
Pseudocode:ET r1/r2/c1/c2/i/.
ET arra4% a*Z*Z/'*Z*Z/c*Z*Z
READ t$e 6a"ue of r1 an( c2
READ t$e 6a"ue of r2 an( c2
IF @r1? ?AND@c1 ? ?c2THEN
PRINT matri can 'e a((e(
FOR i<?3 To r291 TEP 1
8/13/2019 foc new
http://slidepdf.com/reader/full/foc-new 46/58
FOR . <?3 To c191 TEP 1
READ t$e 6a"ue of aiZ.Z
END FOR
END FOR
FOR i <? 3 To r291 TEP 1
FOR . <?3 To c291 TEP 1
READ t$e 6a"ue of 'iZ.Z
END FOR
END FOR
FOR i <?3 To r191 TEP 1
FOR . <?3 To c191 YEP 1
COMPTE ciZ.Z?aiZ.Z>'iZ.Z
END FOR
END FOR
FOR i <?3 To r191 TEP 1FOR . <?3 To c191 TEP 1
PRINT ciZ.Z
END FOR
END FOR
ELE
PRINT matri cannot 'e a((e(
END IF
TOP
Pro#ram:
Qinc"u(e%t(io;$
Qinc"u(econio;$
6oi( main@
S
int a*Z*Z/'*Z*Z/c*Z*Z
int ro#1/ro#2/co"1/co"2/i/./8
c"r%cr@
!rintf@Enter t$e ro# 6a"ue of fir%t matriVn
%canf@U(/ro#1 !rintf@Enter t$e co"umn 6a"ue of fir%t matriVn
%canf@U(/co"1
!rintf@Enter t$e ro# 6a"ue of %econ( matriVn
%canf@U(/ro#2
!rintf@Enter t$e co"umn 6a"ue of %econ( matriVn
%canf@U(/co"2
if@@ro#1??ro#2@co"1??co"2
8/13/2019 foc new
http://slidepdf.com/reader/full/foc-new 47/58
S
!rintf@Matri can 'e a((e( Vn
!rintf@Enter t$e 6a"ue% of fir%t matriVn
for@i?1i?ro#1i>>
S
for@.?1.?co"1.>>
S
%canf@U(/aiZ.Z
W
W
!rintf@Enter t$e 6a"ue% of %econ( matriVn
for@i?1i?ro#2i>>
S
for@.?1.?co"2.>>
S%canf@U(/'iZ.Z
W
W
for@i?1i?ro#1i>>
S
for@.?1.?co"1.>>
S
ciZ.Z?aiZ.Z>'iZ.Z
W
W
!rintf@um of t$e t#o matri i%Vn
for@i?1i?ro#1i>>
S
for@.?1.?co"1.>>
S
!rintf@U(Vt/ciZ.Z
W
!rintf@VnW
W
e"%e
!rintf@A((ition cannot 'e !erform
getc$@
W
8/13/2019 foc new
http://slidepdf.com/reader/full/foc-new 48/58
OTPT
Enter t$e ro# 6a"ue of fir%t matri
2
Enter t$e co"umn 6a"ue of fir%t matri
2
Enter t$e ro# 6a"ue of %econ( matri
2
Enter t$e co"umn 6a"ue of %econ( matri
2
Matri can 'e a((e(
Enter t$e 6a"ue% of fir%t matri
2 )
* +
RESULT:
T$u% t$e !rogram to !erform matri a((ition $a% 'een eecute( %ucce%%fu""4;
.NO:16
MATRIX MULTIPLICATION
Aim:
To create a !rogram for !erform t$e matri mu"ti!"ication;
Pseudocode:
ET r1/ r2/ c1/ c2/ i/ ./ 8
ET arra4% a*Z*Z/'*Z*Z/c*Z*ZREAD t$e 6a"ue of r1 an( c1
READ t$e 6a"ue of r1 an( c2
IF@r1? ?c2THEN
PRINT matri can 'e mu"ti!"ie(
FOR i <?3 To r191 TEP 1
FOR . <?3 To c191 TEP 1
READ t$e 6a"ue of aiZ.Z
END FOR
8/13/2019 foc new
http://slidepdf.com/reader/full/foc-new 49/58
END FOR
FOR i <?3 To r291 TEP 1
FOR . <?3 To c291 TEP 2
READ t$e 6a"ue of 'iZ .Z
END FOR
END FOR
FOR i <?3 To r191 TEP 1
FOR . <?3 To c291 TEP 1
ET ciZ.Z?3
FOR 8 <?3 To c191 TEP 1
COMPTE ciiZ.Z?ciZ.Z>a.Z8Z'8Z.Z
END fOR
END FOR
END FOR
ELEPRINT matri cannot 'e mu"ti!"ie(
END IF
TOP
Pro#ram:
Qinc"u(e%t(io;$
Qinc"u(econio;$
oi( main @
S
int a*Z*Z/'*Z*Z/c*Z*Z
int ro#1/ro#2/co"1/co"2/i/./8
c"r%cr@
!rintf@Enter t$e ro# 6a"ue of fir%t matriVn
%canf@U(/ro#1
!rintf@Enter t$e co"umn 6a"ue of fir%t matriVn
%canf@U(/co"1
!rintf@Enter t$e ro# 6a"ue of %econ( matriVn
%canf@U(/ro#2
!rintf@Enter t$e co"umn 6a"ue of %econ( matriVn
%canf@U(/co"2if@@ro#1??ro#2@co"1??co"2
S
!rintf@Matri can 'e mu"ti!"4 Vn
!rintf@Enter t$e 6a"ue% of fir%t matriVn
for@i?1i?ro#1i>>
S
for@.?1.?co"1.>>
8/13/2019 foc new
http://slidepdf.com/reader/full/foc-new 50/58
S
%canf@U(/aiZ.Z
W
W
!rintf@Enter t$e 6a"ue% of %econ( matriVn
for@i?1i?ro#2i>>
S
for@.?1.?co"2.>>
S
%canf@U(/'iZ.Z
W
W
for@i?1i?ro#1i>>
Sfor@.?1.?co"1.>>
S
ciZ.Z?aiZ.Z'iZ.Z
W
W
!rintf@Mu"ti!"ication of t$e t#o matri i%Vn
for@i?1i?ro#1i>>
S
for@.?1.?co"1.>>
S
!rintf@U(Vt/ciZ.Z
W
!rintf@Vn
W
W
e"%e
S
!rintf@Mu"ti!"ication cannot 'e !erform
Wgetc$@
W
Out%ut:
Enter t$e ro# 6a"ue of fir%t matri
2
Enter t$e co"umn 6a"ue of fir%t matri
8/13/2019 foc new
http://slidepdf.com/reader/full/foc-new 51/58
2
Enter t$e ro# 6a"ue of %econ( matri
2
Enter t$e co"umn 6a"ue of %econ( matri
2
Matri can 'e mu"ti!"4
Enter t$e 6a"ue% of fir%t matri
22 )
& 1
Enter t$e 6a"ue% of %econ( matri
, -
0 *
Mu"ti!"ication of t$e t#o matri i%
1*) &2
2, *
Result:
T$u% t$e !rogram to !erform matri mu"ti!"ication $a% 'een create( an( eecute(
%ucce%%fu""4;
.NO:17
SEUENTIAL SEARC#
Aim:
To create a ^c^ !rogram for !erforming t$e %e7uentia" %earc$ u%ing function%
Pseudocode:
ET n / i/ e
ET arra4 a13Z
READ t$e 6a"ue of n
FOR i?o To n91 TEP 1
READ t$e 6a"ue of aiZ
ENDFOR
READ t$e 6a"ue of e
CALL LINEAR @a /n /e
TOP
FNCTION OID LINEAR @int aiZ/int n int e
5EGIN
ET i/ f"ag?3
FOR i?3 To n91 TEP 1
8/13/2019 foc new
http://slidepdf.com/reader/full/foc-new 52/58
8/13/2019 foc new
http://slidepdf.com/reader/full/foc-new 53/58
W
Out%ut:
Enter t$e "imit<
&
Enter t$e e"ement<
1 2 &
Enter t$e e"ement to 'e %earc$e(<
2
e"ement i% foun(
Enter t$e "imit<
&
Enter t$e e"ement<
1 2 &
Enter t$e e"ement to 'e %earc$e(<
,e"ement i% not foun(
Result:
T$u% t$e !rogram to !erform %e7uentia" %earc$ u%ing function $a% 'een eecute(
%ucce%%fu""4 .NO:18
FACTORIAL USING R ECURSION
A0:
To create a !rogram for fin(ing t$e factoria" of t$e num'er u%ing function;
Pseudocode:
ET t$e integer 6aria'"e n/ f
READ t$e 6a"ue of n
ET f <? ca"" fact @n
PRINT t$e 6a"ue of f
TOPFNCTION int fact @int n
5EGIN
ET i/f<?1
If @n??3 OR @n??1 THEN
ET f<?1
8/13/2019 foc new
http://slidepdf.com/reader/full/foc-new 54/58
ELE
FOR i]?1 To n TEP 1
COMPTE f] ?fI
END FOR
END IF
RETRN t$e 6a"ue of f
TOP
Pro#ram:
Qinc"u(e%t(io;$
Qinc"u(econio;$
int fact@int 8
S
if@8??3
return 1
e"%e
return 8fact@891
W
6oi( main@
S
int nc"r%cr@
!rintf@Vn Enter a num'er <
%canf@U(/n
!rintf@Vn Factoria" 6a"ue?U(/fact@n
getc$@
W
Out%ut:
Enter a num'er< )
Factoria" 6a"ue?2)
Result:
8/13/2019 foc new
http://slidepdf.com/reader/full/foc-new 55/58
T$u% t$e !rogram to fin( t$e factoria" of t$e gi6en num'er function $a% 'een
eecute( %ucce%%fu""4
.NO:19
MAR*S#EET OF N STUDENTS USING STRUCTURES
Aim:
To create a !rogram to !rint t$e mar8 %$eet of _n^ %tu(ent u%ing %tructure%
Pseudocode:
TRCTRE %tu(
5EGIN
ET rno/ m1/ m2/ m&/ tota" a% integer 6aria'"e%
ET name13Z a% c$aracter 6aria'"e
TOP
ET in a integer 6aria'"e
READ t$e num'er %tu(ent% n
FOR i?3 To n91 TEP 1READ t$e 6a"ue of %iZ ;rno/%iZ;name/%iZ;m1/%iZ;m2/%iZ;m&
ENDFOR
FOR@i]?3 To n91 TEP 1
PRINT t$e 6a"ue of %iZ;rno/%iZ;name/%iZ;m1/%iZ;m2/%iZ;m&/%iZ;tota"
IF@%iZ;m1?)* AND @%iZ;m2?)* AND %iZ m& ?)*THEN
PRINT JPAK
ELE
8/13/2019 foc new
http://slidepdf.com/reader/full/foc-new 56/58
PRINT JFAILK
END IF
END FOR
TOP
Pro#ram:
Qinc"u(e%t(io;$
Qinc"u(econio;$
%truct %tu(ent
S
c$ar name13Z13Z
int ro""no/m1/m2/m&/tota"
W
6oi( main@S
int num/i/.
%truct %tu(ent %113Z
c"r%cr@
!rintf@enter t$e num'er of %tu(ent%
%canf@U(/num
for@i?3inumi>>
S
!rintf@Enter t$e ro"" num'erVn
%canf@U(/%1iZ;ro""no
!rintf@Enter t$e name Vn
%canf@U%/%1iZ;name
!rintf@Enter t$e mar81Vn
%canf@U(/%1iZ;m1
!rintf@Enter t$e mar82Vn
%canf@U(/%1iZ;m2
!rintf@Enter t$e mar8&Vn
%canf@U(/%1iZ;m&
%1iZ;tota"?%1iZ;m1>%1iZ;m2>%1iZ;m&W
!rintf@T$e (etai"% of t$e mar8 "i%t i% a% fo""o#% Vn
!rintf@VnRo""no
!rintf@Vtname
!rintf@Vtmar81
!rintf@Vtmar82
!rintf@Vtmar8&
8/13/2019 foc new
http://slidepdf.com/reader/full/foc-new 57/58
!rintf@Vttota"
!rintf@Vn
for@i?3inumi>>
S
!rintf@VnU(/%1iZ;ro""no
!rintf@VtU%/%1iZ;name
!rintf@VtU(/%1iZ;m1
!rintf@VtU(/%1iZ;m2
!rintf@VtU(/%1iZ;m&
%1iZ;tota"?%1iZ;m1>%1iZ;m2>%1iZ;m&
!rintf@VtU(/%1iZ;tota"
W
getc$@
W
Out%ut:
enter t$e num'er of %tuent%2
Enter t$e ro"" num'er
)*+1
Enter t$e name
"o8e%$
Enter t$e mar81
0-
Enter t$e mar82
,-
Enter t$e mar8&
+0
Enter t$e ro"" num'er
)*+2
Enter t$e name
mani
Enter t$e mar81
--Enter t$e mar82
-0
Enter t$e mar8&
0-
T$e (etai"% of t$e mar8 "i%t i% a% fo""o#%
Ro""no name mar81 mar82 mar8& tota"
8/13/2019 foc new
http://slidepdf.com/reader/full/foc-new 58/58
)*+1 "o8e%$ 0- ,- +0 2)*
)*+2 mani -- -0 0- 2,*
Result:
T$e !rogram to !rint t$e mar8 %$eet of %tu(ent% u%ing %tructure $a% 'een
eecute( %ucce%%fu""4
QQQQ````````````````````````````````````````````````````QQQQ
Recommended