Answered step by step
Verified Expert Solution
Question
1 Approved Answer
On reprend l'exercice pr c dent , mais cette fois - ci les termes du nombre hexad cimal sont enregistr s dans un tableau de
On reprend l'exercice prcdent mais cette foisci les termes du nombre hexadcimal sont enregistrs dans un tableau de string.
Exemples de tableaux de chaine de caractres passe en argument :
tableSE
tableBDF
Vous devez complter le sousprogramme suivant :
Function comparaisondeci As Integer, hexa As String As Integer
If deci Then Return
Dim a As Integer
Din b As String
Dim i As Integer
Do
If i Then Return
a deci Hod
deci deci
If And Then
b
Elseif Then
b A
Elself then
b
ElseIf Then
b
Elself Then
D
Elself Then
Elself then
F
End If
If en Return
Loop While deci
If
Then Return
Return
End functio.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started