Concept:
The code is obtained by adding the positional values of the letters.
Alphabet positions:
\[
A=1,\;B=2,\;C=3,\dots,Z=26
\]
Step 1: Verify with PRIYA.
\[
P=16,\;R=18,\;I=9,\;Y=25,\;A=1
\]
Sum:
\[
16+18+9+25+1=69
\]
Code given:
\[
79
\]
Difference:
\[
79-69=10
\]
Step 2: Verify with LOVER.
\[
L=12,\;O=15,\;V=22,\;E=5,\;R=18
\]
Sum:
\[
12+15+22+5+18=72
\]
Code given:
\[
92
\]
Difference:
\[
92-72=20
\]
Pattern:
Extra value increases by \(10\).
Step 3: Find code for BRAVE.
\[
B=2,\;R=18,\;A=1,\;V=22,\;E=5
\]
Sum:
\[
2+18+1+22+5=48
\]
Next extra value:
\[
+6
\]
So:
\[
48+6=54
\]
Thus, the code for BRAVE is:
\[
\boxed{54}
\]