Vous êtes sur la page 1sur 10

Utilisez la fonction recherchev() et affichez le libellé, la catégorie et le prix unitaire qui se trouvent dans la

table stock
Calculez les totaux

CATEGORI
REF ARTICLE LIBELLE PRIX UNIT HT QTE TOTAL
E
12 3

4 2

6 4

8 1

7 2

Total HT

Tva 19,6%

Total TTC

Exercice 2
Affichez la lettre qui correspond à la note de l'élève
en utilisant la fonction recherchev()
Table_notes
Élève Note Lettre Note lettre
Sandra 36 0 F
Éric 68 40 D
Laurent 50 70 C
Valérie 77 80 B
Sophie 92 90 A
Audrey 100
Maxime 74 colonne 1 colonne 2
Marie-Laure 45
Franck 60
Aurélien 89
Simon 99
Claire 91
Laurence 59

Exercice 3
Utilisez la fonction recherchev() pour afficher le taux de la taxe

Le revenu est Mais inférieur à... Taux de taxe


supérieur ou égal
à…
Saisissez le revenu : 30,000.00 € 0 2,650 15.00%
Le taux de taxe est : 2,651 27,300 28.00%
27,301 58,500 31.00%
58,501 131,800 36.00%
131,801 284,700 39.60%
284,701 45.25%
Table_Stock
REF CATEGORI PRIX UNIT
LIBELLE
ARTICLE E HT
1 lib1 cat1 235.00 €

2 lib2 cat2 125.00 €

3 lib3 cat3 400.00 €

4 lib4 cat4 500.00 €

5 lib5 cat5 450.00 €

6 lib6 cat6 250.00 €

7 lib7 cat7 125.00 €

8 lib8 cat8 800.00 €

9 lib9 cat9 740.00 €

10 lib10 cat10 100.00 €

11 lib11 cat11 120.00 €

12 lib12 cat12 230.00 €

colonne 1 colonne 2 colonne 3 colonne 4


Utilisez la fonction rechercheh() pour afficher le taux de la taxe

Le revenu est supérieur ou


égal à… - € 2,651 € 27,301 € 58,501 € 131,801 €

Saisissez le revenu : 210,566 € Mais inférieur à… 2,650 € 27,300 € 58,500 € 131,800 € 284,700 €

Le taux de taxe est : Taux de taxe 15.00% 28.00% 31.00% 36.00% 39.60%
284,701 € ligne1

ligne2

45.25% ligne3
Nom Prénom Service Poste
Entrez un nom --> Makumba

Nom Prénom Service Poste


Charles François Administration 2822
Duchamp Nancy Exploitation 3432
Leclerc Felix Administration 1231
Lourdais Eugénie Informatique 2144
Makumba Yolande Vente 4466
Petrowsky Ken Marketing 4422
Pino Sergio Informatique 1102
Rajhi Ciheme Administration 2604
Templier Marius Exploitation 3983
Date d'embauche

Date d'embauche
9/16/1998
4/16/2000
3/12/2001
9/24/2006
11/24/1999
12/1/2004
11/12/2003
4/15/2005
11/21/2006
Date 6/12/2007 Date Jour Montant
Montant 6/1/2007 Friday 23
6/2/2007 Saturday 179
6/3/2007 Sunday 149
6/4/2007 Monday 196
6/5/2007 Tuesday 131
6/6/2007 Wednesday 179
6/7/2007 Thursday 134
6/8/2007 Friday 179
6/9/2007 Saturday 193
6/10/2007 Sunday 191
6/11/2007 Monday 176
6/12/2007 Tuesday 189
6/13/2007 Wednesday 163
6/14/2007 Thursday 121
6/15/2007 Friday 100
6/16/2007 Saturday 109
6/17/2007 Sunday 151
6/18/2007 Monday 138
6/19/2007 Tuesday 114
6/20/2007 Wednesday 156
Le revenu est Mais inférieur Taux de
supérieur ou égal à… taxe
à…
Saisissez le revenu : 123,409 - 2,650 15%
Le taux de taxe est : 2,651 27,300 28%
27,301 58,500 31%
58,501 131,800 36%
131,801 284,700 40%
284,701 45%

Utilisez la fonction recherche() pour afficher le taux de la taxe


Valeur Steve B. Plage1 Plage2
Bill G. 50
RECHERCHE vecteurs Gary K. 150
RECHERCHE matrice Paul A. 400
RECHERCHEV Steve B. 200
Steve J. 300
Tim P. 25
Wiliam H. 100

Vous aimerez peut-être aussi