Free Essay

Aaa Aaaaaaaa Aaaaaaaaa

In:

Submitted By swagkash
Words 251
Pages 2
4. insert sort
#include<stdio.h>
#include<string.h> void insert(); main(){ char s[70]; printf("enter a string :"); gets(s); insert(strlen(s),s); printf("tre string after sorted : %s\n ",s);
}
void insert(int count,char *item){ char temp; int a,b; for (a=1;a<count;++a){ temp=item[a]; b=a-1; while(b>=0 && temp<item[b]){ item[b+1]=item[b]; b--;
}
item[b+1]=temp;
}
}

******************************************************************************

5. bubble sort
#include <stdio.h>
#include<string.h>
void bubble(); main(){ char s[70]; printf("enter a string :"); gets(s); bubble(strlen(s),s); printf("the string after sorted : %s\n",s);
}
void bubble(int num,char *str){ char temp; int a,b; for (a=1;a<num;++a) for(b=num-1;b>=a;--b){ if (str[b-1]>str[b]){ temp=str[b-1]; str[b-1]=str[b]; str[b]=temp; } } }
******************************************************************************
6. select sort
#include<stdio.h>
#include<string.h> void select(); main(){ char s[70]; printf("enter a string :"); gets(s); select(strlen(s),s); printf("tre string after sorted : %s\n ",s);
}
void select(int count,char *item){ char temp; int a,b,c; for (a=0;a<=count-1;++a){ c=a; temp=item[a]; for (b=a+1;b<count;++b){ if (item[b]<temp){ c=b; temp=item[b];
}
} item[c]=item[a]; item[a]=temp;
}
}

Similar Documents

Free Essay

Computer

...Aaaaaaaaa aaaaaaaaaaaa aaaaaaa aaaaaaaaa aaaaaaa aaaaaaaa aaaaaaa aaaaaaa aaaaa aaaaaa a aaaaa aaaaa aaaa aaaaaaaa aaaaaaaaaaaaaaaa aaaa aaaaaaa aaaaaaaaaaa aaaa aaaaaaaaaaa aaaaaaaaaa aaaaaaaaa a aaaa aaaa aaaaaa aaaa a aaaaaa aaaaa aaaaaa aaaaa aaaaaaaaa aaa a aa aaaaaaaa aaaa aa aaaaaaaaa aaaaaaa aaaaaaa aaaaaaa aaaaa aaaaa aaaaaaaaaaaaa aaaaaaaaaaaa aaaaaaaaaa aaa aaaaaaa aaa aaaa aaaaa aaaaaaa aaaaa aaaaaaa aaaa aaaaaa aaa aaaaaa aaaaaaaaa aaa aaaaaa aaaaaa aaaaa aaaaaaaaa aaaaaa aaaa aaaaa aaaaaaaaaaa aaaaaaaaaaa aaaaaaaaa aaaaaaaaaa aaaaaaaaaaa aaaaaaaaa aaaaaaaaaa aaaaaaaaaa aaaaaaaaaaaa aaaa aaaaaa aaaaaaaaaa aaaaaaaa aaa aa aaaaaa aaaaaa aaaaaaaaaa aaaa aaa a a aaaa a aaaaaaa aaaaaaa aaaaaaaaa aaaaaaa aaaaaa aaaa aaaaaa aaaaaa aaaa aaaaaaaaaaaaaaa aaaaaaa aaaaaaaaaa aaaaaaaaaaa aaaaaaaaaaaa Aaaaaaaa aaa aaa aaaaaaaa aaaaaaaa aaaaaaaaa aaaaaaaaa aaa aaa aaaaaaaaaaa aaaaaaaaaaaaaaa aaaaaaaaaaaaaa aaaaaaaaa aaaaaaaaa aaaaaaaaa aaa aa a aaaaa aaaaaaaaaa aaaaaaaa aaa aaaaaaa aaaaaa aaaaaaaa aaaaaaaaa aaaaaaaa Aaaaaaaaa aaaaaaaaaaaa aaaaaaa aaaaaaaaa aaaaaaa aaaaaaaa aaaaaaa aaaaaaa aaaaa aaaaaa a aaaaa aaaaa aaaa aaaaaaaa aaaaaaaaaaaaaaaa aaaa aaaaaaa aaaaaaaaaaa aaaa aaaaaaaaaaa aaaaaaaaaa aaaaaaaaa a aaaa aaaa aaaaaa aaaa a aaaaaa aaaaa aaaaaa aaaaa aaaaaaaaa aaa a aa aaaaaaaa aaaa aa aaaaaaaaa aaaaaaa aaaaaaa aaaaaaa aaaaa aaaaa aaaaaaaaaaaaa aaaaaaaaaaaa aaaaaaaaaa aaa aaaaaaa aaa aaaa aaaaa aaaaaaa aaaaa aaaaaaa aaaa aaaaaa aaa aaaaaa aaaaaaaaa aaa aaaaaa aaaaaa...

Words: 270 - Pages: 2

Free Essay

Aaaa

...Aaa aaaa aaaaa aaaaaA aaaa aaaaa aaaa aaaaA Aaaaa aaa aaaaaaaaaA aaaaaaaaaaa aaaaaaA aaaaa aaaaa aa aaaaaA aaaaaaaaaa aaaaaaaA Aaaaaaaaa aaa aaa aaA aaaaaa aaa aaaaa aaaA aaaaa aaaaaaaaaaaaA aaa aaaa aaaaa aa aaaA aaaaa aaa aaaaaa aaaA aaaa aaaaaa aaaaaaaA aaa aaaaaa aaaaa aaaA aaaaaaaaa aaaaa aaaA aaaa aaaa aaaaa aaaaA Aaa aaaa aaaaa aaaaaA aaaa aaaaa aaaa aaaaA Aaaaa aaa aaaaaaaaaA aaaaaaaaaaa aaaaaaA aaaaa aaaaa aa aaaaaA aaaaaaaaaa aaaaaaaA Aaaaaaaaa aaa aaa aaA aaaaaa aaa aaaaa aaaA aaaaa aaaaaaaaaaaaA aaa aaaa aaaaa aa aaaA aaaaa aaa aaaaaa aaaA aaaa aaaaaa aaaaaaaA aaa aaaaaa aaaaa aaaA aaaaaaaaa aaaaa aaaA aaaa aaaa aaaaa aaaaA Aaa aaaa aaaaa aaaaaA aaaa aaaaa aaaa aaaaA Aaaaa aaa aaaaaaaaaA aaaaaaaaaaa aaaaaaA aaaaa aaaaa aa aaaaaA aaaaaaaaaa aaaaaaaA Aaaaaaaaa aaa aaa aaA aaaaaa aaa aaaaa aaaA aaaaa aaaaaaaaaaaaA aaa aaaa aaaaa aa aaaA aaaaa aaa aaaaaa aaaA aaaa aaaaaa aaaaaaaA aaa aaaaaa aaaaa aaaA aaaaaaaaa aaaaa aaaA aaaa aaaa aaaaa aaaaA Aaa aaaa aaaaa aaaaaA aaaa aaaaa aaaa aaaaA Aaaaa aaa aaaaaaaaaA aaaaaaaaaaa aaaaaaA aaaaa aaaaa aa aaaaaA aaaaaaaaaa aaaaaaaA Aaaaaaaaa aaa aaa aaA aaaaaa aaa aaaaa aaaA aaaaa aaaaaaaaaaaaA aaa aaaa aaaaa aa aaaA aaaaa aaa aaaaaa aaaA aaaa aaaaaa aaaaaaaA aaa aaaaaa aaaaa aaaA aaaaaaaaa aaaaa aaaA aaaa aaaa aaaaa aaaaA Aaa aaaa aaaaa aaaaaA aaaa aaaaa aaaa aaaaA Aaaaa aaa aaaaaaaaaA aaaaaaaaaaa aaaaaaA aaaaa aaaaa aa aaaaaA aaaaaaaaaa aaaaaaaA Aaaaaaaaa aaa aaa...

Words: 468 - Pages: 2

Premium Essay

Jhgkjh

...= Append@nums, n -> nmolsD 8V1 Ø 10, T1 Ø 298, P1 Ø 10, P2 Ø 1, R Ø 8.3144, Rla Ø 0.082057, n Ø 4.08948< Finally, this constant will convert liter-atm energy units to Joule energy units. All results are given in Joules: laToJ = 101.325 ; ü 1. Reversible, Isothermal Process In an isothermal process for an ideal gas, DU = 0 ; DH = 0 ; thus heat and work are equal and given by: P2 q = w = n R T1 LogA ÅÅÅÅÅÅÅ E J ê. subs P1 -23330.9 J 16 Notes on Gaskell Text ü 2. Reversible Adiabatic Expansion In an adiabatic expansion q = 0; and P V g is a constant. Thus the final state has 1êg g P2 V2 i P1 V1 y Å ; T2 = ÅÅÅÅÅÅÅÅÅÅÅÅÅ ê. g -> 5 ê 3 Å V2 = j ÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅ z j z n Rla k P2 { P1 V 1 P2 I ÅÅÅÅÅÅÅÅÅÅÅÅÅ M P ÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅÅ2 ÅÅÅÅÅÅÅÅÅ ÅÅÅÅÅÅÅÅ Å n Rla 5ê3 3ê5 For an ideal gas cv = 3R/2; thus 3 DU = ÅÅÅÅ n R HT2 - T1 L ê. subs 2 -9147.99 or we can use 3 DU = ÅÅÅÅ HP2 V2 - P1 V1 L laToJ ê. Append@subs, g -> 5 ê 3D 2 -9148.02 For some numeric results, the final temperature and volumes were ad2 = N@8V2 , T2 < ê. Append@subs, g -> 5 ê 3DD 839.8107, 118.636< The work done is dw = -DU 9148.02 For an ideal gas c p = 5R/2; thus the enthalpy change is 5 DH = ÅÅÅÅ HP2 V2 - P1 V1 L laToJ ê. Append@subs, g -> 5 ê 3D 2 -15246.7 or Notes on Gaskell Text 17 5 DH = ÅÅÅÅ n R HT2 - T1 L ê. subs 2 -15246.7 For numerical results in the subsequent...

Words: 8379 - Pages: 34

Premium Essay

Manager

...November 2015 AIRBUS 10 40 5 P9 P12 25 21 30 30 P15 10 21 12 TAWAZUN 120 12 P11 DASSAULT 10 BAE SYSTEMS 1000 25 10 P4 EMPIRE AVIATION 100 P14 20 5 10 300 105 10 10 5 10 40 P6 ATT 20 ADCOM 5 100 26 4 26 AAAAAAAAAA 72717069686766656463 124.26 124.26 124.26 124.26 124.26 124.26 124.26 124.26 124.26 124.26 AAAAAAAAAAA 6261605958575655545352 124.26 124.26 124.26 124.26 124.26 124.26 124.26 124.26 124.26 124.26 124.26 AA AAAAAAAA AAA 51504948474645444342 414039 124.26 124.26 124.26 124.26 124.26 124.26 124.26 124.26 124.26 124.26 124.26 124.26 124.26 21 11.5 P10 30 AAAAAAA A AAAAA P8 3837363534333231 TAWAZUN 3029282726 20 15 124.26 124.26 124.26 124.26 124.26 124.26 124.26 124.26 300 124.26 124.26 124.26 124.26 124.26 AAAAA 2524232221 124.26 124.26 124.26 124.26 124.26 22 25 P5 14 6 224 DWC 14 23 8 P3 MUBADALA 500 AAAA AAAAAAAAA 20191817 16151413121110 9 8 P2 20 124.26 124.26 124.26 124.26 124.26 124.26 124.26 124.26 124.26 124.26 124.26 124.26 124.26 16.5 22 8 P1 F&E 14 6 224 14 AAAAAAA 7 6 5 4 3 2 1 124.26 124.26 124.26 124.26 124.26 124.26 124.26 B B B B B B B B B 18 17 16 15 14 13 12 11 10 77 77 77 77 77 77 77 77 77 B B B B B B B B B 9 8 7 6 5 4 3 2 1 77 77 77 77 77 77 77 77 77 189.75 AIRBUS 678 630 30 8 8 A ROYAL HALL 21 A P7 14 322 23 A A 15 B 25 P16 ...

Words: 818 - Pages: 4

Free Essay

Social Studies Problems

...SECTION 7A HEATING AND VENTILATION SYSTEM CAUTION: Disconnect the negative battery cable before removing or installing any electrical unit or when a tool or equipment could easily come in contact with exposed electrical terminals. Disconnecting this cable will help prevent personal injury and damage to the vehicle. The ignition must also be in B unless otherwise noted. TABLE OF CONTENTS Description and Operation . . . . . . . . . . . . . . . . . . 7A-2 Heating and Ventilation Systems . . . . . . . . . . . . 7A-2 Component Locator . . . . . . . . . . . . . . . . . . . . . . . . 7A-3 Control Assembly . . . . . . . . . . . . . . . . . . . . . . . . . 7A-3 Blower Module Assembly . . . . . . . . . . . . . . . . . . . 7A-4 Air Distributor and Heater Module Assembly . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7A-5 Diagnostic Informatin and Procedures . . . . . . . 7A-6 Heater System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7A-6 Insufficient Heating or Defrosting . . . . . . . . . . . . 7A-6 Blower Electrical . . . . . . . . . . . . . . . . . . . . . . . . . 7A-10 Improper Air Delivery or No Mode Shift . . . . . . 7A-11 Too Much Heat . . . . . . . . . . . . . . . . . . . . . . . . . . . 7A-13 Controls . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7A-15 Blower Noise . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7A-16 Repair Instructions . . . . . . . . . . . . . . . . . . . . . . . . 7A-18 On-Vehicle...

Words: 18314 - Pages: 74

Free Essay

Mmkl

...nDfvZmh d[Bhnk GkJh ;kfjp oDXho f;zx nDfvZmh d[Bhnk fbfys GkJh ;kfjp oDXho f;zx gqekÙs GkJh ;kfjp oDXho f;zx Nq;N ¢£-ih, ;okGk Bro, b[fXnkDk ekgh okJhN GkJh ;kfjp oDXho f;zx Nq;N ¡©¤©, ¡©¦0, ¡©¦§, ¡©§§, ¡©ø£ S/thA tko ngq?b ¡©©0 ;sthA tko iBtoh ¡©©¤ w[Zb ¢g-00 fgqzNo L fgqzNt?Zb, 146, fJzv;Nqhnb ø 'eb g[nkfJzN, nzfwqs;o. sseok gqeoD ¡a ¢a £a ¤a ga ¦a §a øa ©a ¡0a ¡¡a ¡¢a ¡£a tuB nozG nZrk j? nk;se s/ Bk;se nekb g[oy dk do; fwbkg nrw nr'uo tkfjr[o{ dh bysk g/yBjkfonK dh ;w fdqÙNsk nfdqÙN fdqÙfNnK dh fp;wkdsk nekb g[oy dh dorkj XowokfJ dh dorkj Boe ;[or iw ns/ iwg[oh woB ;w/H dh iwK dh Mkeh r[ow[yK d/ d[nkb/ u"eh r[ow[yK B{z ihT[ efjD dh cb XowokfJ, fuso r[gs s/ nktkrtB gq/s-T[Xko gzBk j ¡ g ¡¦ ¤¡ ¤¤ ¤g g¢ ¡00 ¡¤g ¡§© ¡©¢ ¢¤0 ¢øø ¢©¢ £¡¢ S/thA tko “nDfvmh d[Bhnk” fJ; 23%36$16 ;kJh˜ ftu gfjbK d' tko ¡©§§ ns/ ¡©ø£ ftu gq?;-NkJhg Bkb Sg u[eh j?. isB eoB s/ th gq?;-NkJhg ftu fes/ Bk fes/ e'Jh ˆbsh Sg jh iKdh j?. n?sehA g[;se B{z ø 'N'-;N?N okjhA SgtkfJnk ik fojk j?. go B?frNt pDkT[D s'A gfjbK ;koh g[;se dh g{oh soQK ;[XkJh ehsh-eokJh rJh j?, skfe nr/ s'A e'Jh rbsh SgD ftu Bk nk ;e/. nfs dh wfjzrkJh ekoB ekr˜, SgkJh s/ fibdK d/ o/N fdB-pfdB tXh jh ik oj/ jB, fi; ekoB g[;se dh ehws gfjbK Bkb'A fes/ tX oyDh gJh j?. go ;kvk isB fJj' j? fe r[owfs gouko B{z w[y oy e/ fJBQK g[;seK B{z bkrs wkso s/ jh f;y ;zrsK d/ g/Ù ehsk ikt/ ns/ T[BQK B{z wkfJnk ewkT[D dk ;kXB Bk pDkfJnk ikt/. ¢£-ih, ;okGk Bro b[fXnkDk ¡£-¦-§0 pbpho f;zx ;eZso GkJh ;kfjp oDXho f;zx Nq;N ...

Words: 36846 - Pages: 148