Browse Source

Como en el libro

Luis Albertorio 8 years ago
parent
commit
6958ce9c44
2 changed files with 12 additions and 6 deletions
  1. 7
    3
      README-en.md
  2. 5
    3
      README-es.md

+ 7
- 3
README-en.md View File

@@ -1,4 +1,3 @@
1
-
2 1
 # Decision Structures - Password Strength
3 2
 
4 3
 ![main1.png](images/main1.png)
@@ -174,14 +173,19 @@ The following are additional details and examples of the criteria for **subtract
174 173
 ---
175 174
 
176 175
 !INCLUDE "../../eip-diagnostic/password-strength/en/diag-password-strength-01.html"
176
+<br>
177 177
 
178 178
 !INCLUDE "../../eip-diagnostic/password-strength/en/diag-password-strength-02.html"
179
+<br>
179 180
 
180 181
 !INCLUDE "../../eip-diagnostic/password-strength/en/diag-password-strength-03.html"
182
+<br>
181 183
 
182 184
 !INCLUDE "../../eip-diagnostic/password-strength/en/diag-password-strength-04.html"
185
+<br>
183 186
 
184 187
 !INCLUDE "../../eip-diagnostic/password-strength/en/diag-password-strength-05.html"
188
+<br>
185 189
 
186 190
 ---
187 191
 
@@ -321,7 +325,7 @@ Your task is to use mathematical expressions and decision structures for the ind
321 325
 
322 326
 ---
323 327
 
324
-In Example 2, the number of **requisites** is 5 because `"S1nf@nia!"` meets the criteria for length and also contains uppercase letters, lowercase letters, numbers and symbols. Therefore, the score for the number of requisites is $2 \cdot 5 =10$.
328
+In Example 2, the number of **requisites** is 5 because `"S1nf@nia!"` meets the criteria for length and also contains uppercase letters, lowercase letters, numbers and symbols. Therefore, the score for the number of requisites is $$2 \cdot 5 =10$$.
325 329
 
326 330
 In the project's code you will find examples of how to calculate the first two positive criteria: the number of characters in the password and the numbers of uppercase letters. You can compile and execute the example so you can see the working interface with these two criteria. Part of your task is to add the code to compute the score for the remaining criteria. Remember that you should accumulate the total score and invoke the functions to update the graphical interface.
327 331
 
@@ -359,4 +363,4 @@ Use "Deliverables" in Moodle to upload the `readpassword.cpp` file that contains
359 363
 
360 364
 ## References
361 365
 
362
-[1] Passwordmeter, http://www.passwordmeter.com/
366
+[1] Passwordmeter, http://www.passwordmeter.com/

+ 5
- 3
README-es.md View File

@@ -1,4 +1,3 @@
1
-
2 1
 # Estructuras de decisión - Fortaleza de contraseñas
3 2
 
4 3
 ![main1.png](images/main1.png)
@@ -175,14 +174,19 @@ Lo que sigue son algunos detalles adicionales y ejemplos de los criterios para *
175 174
 ---
176 175
 
177 176
 !INCLUDE "../../eip-diagnostic/password-strength/es/diag-password-strength-01.html"
177
+<br>
178 178
 
179 179
 !INCLUDE "../../eip-diagnostic/password-strength/es/diag-password-strength-02.html"
180
+<br>
180 181
 
181 182
 !INCLUDE "../../eip-diagnostic/password-strength/es/diag-password-strength-03.html"
183
+<br>
182 184
 
183 185
 !INCLUDE "../../eip-diagnostic/password-strength/es/diag-password-strength-04.html"
186
+<br>
184 187
 
185 188
 !INCLUDE "../../eip-diagnostic/password-strength/es/diag-password-strength-05.html"
189
+<br>
186 190
 
187 191
 ---
188 192
 
@@ -366,5 +370,3 @@ Utiliza "Entrega" en Moodle para entregar el archivo `readpassword.cpp` que cont
366 370
 ---
367 371
 
368 372
 ---
369
-
370
-