Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
programming_i_2018-19_winter_semester [2018/11/30 10:01]
jakub.gemrot
programming_i_2018-19_winter_semester [2018/11/30 10:02]
jakub.gemrot
Line 66: Line 66:
     - Does this string contain a natural number (0 included)?     - Does this string contain a natural number (0 included)?
     - Does this string a whole number?     - Does this string a whole number?
-  * **PRG2 - 2018 - L06 - String** +  * Homework  
-    - How many digits this whole number stored in a string is containing? Return -1 if the string does not contain a whole number. +    * **PRG2 - 2018 - L06 - String** - 4 programs; deliver them as functions 
-    - What is the sum of digits in this whole number stored in a string? Return -1 if the string does not contain a whole number. +      - How many digits this whole number stored in a string is containing? Return -1 if the string does not contain a whole number. 
-    - You are given a string that should contain a whole number; return the number without its first digit. Return 0 if the string does not contain a whole number or the number contains only single digit. +      - What is the sum of digits in this whole number stored in a string? Return -1 if the string does not contain a whole number. 
-    - You are given a string, return the same string but convert all lower-case characters into their upper-case variants.+      - You are given a string that should contain a whole number; return the number without its first digit. Return 0 if the string does not contain a whole number or the number contains only single digit. 
 +      - You are given a string, return the same string but convert all lower-case characters into their upper-case variants.
  
 ==== Lab 05 ==== ==== Lab 05 ====
programming_i_2018-19_winter_semester.txt · Last modified: 2019/01/25 16:16 by jakub.gemrot