NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

EX1:
nom : ex1
resultat = écrire (C, " existe dans ", Ch," dans la position ", P)

P=[p<--0]
Pour i de 1 à long(ch) faire
Si ch[i]=C alors
p<--i
finsi
finpour

(C,CH)=données ("donner un caractére et une chaine")
fin ex1.

TDO
P,i | entier
Ch | chaine
C |caractére
_________________________________________________
_________________________________________________
EX2:

nom : Vpalindrome
resultat = V
V=[m=0]
pour i de 1 à n faire

ch=T[i]
pal=vrai

pour j de 1 à long(ch) div 2 faire
si ch[j] # ch[long(ch)-j+1] alors
pal=faux
finsi
fin pour

si pal=vrai alors
m=m+1
V[m]=ch
finsi
finpour

pour i de 1 à m faire
ecrire(V[i])
finpour

T=[ ]
pour i de 1 à n faire
T[i]=donnée
finpour

n=[]
repéter
n=donnée
jusqu'à 2<=n<=10

fin Vpalindrome

TDNT
_________________
Type
_________________
Tab= tableau de 20
chaines
_________________

TDO
V,T |tab
n,m,i,j | chaine
pal |bouléen

_________________________________________
_________________________________________
EX3:

nom:ex3
resultat=TL,TC,TS

(TL,TC,TS)=[n1<--0,n2<--0,n3<--0]

Pour i de 1 à n faire
Si T[i] dans ["a".."z"] alors
n1<--n1+1
TL[n1]<--T[i]
sinon
Si T[i] dans [1..9] alors
n2<--n2+1
TC[n2]<-- T[i]
sinon
n3<--n3+1
TS[n3]<--T[i]
finsi
finpour

pour i de 1 à n1 faire
ecrire TL[i]
finpour
pour i de 1 à n2 faire
ecrire TC[i]
finpour
pour i de 1 à n3 faire
ecrire TS[i]
finpour

T=[ ]
pour i de 1 à n faire
T[i]=donnée
finpour

n=[ ]
repéter
n=donnée
jusqu'à 6<=n<=30

fin ex3.

TDNT
_________________
Type
_________________
Tab= tableau de 30
caractéres
_________________

TDO
T,TS,TC,TL |tab
n,i,n1,n2,n3 | chaine
     
 
what is notes.io
 

Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 12 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.