Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
programming_i_2018-19_winter_semester [2018/11/30 10:18] jakub.gemrot |
programming_i_2018-19_winter_semester [2018/11/30 10:36] jakub.gemrot |
||
---|---|---|---|
Line 71: | Line 71: | ||
- 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. | - 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 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 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. | + | - You are given a string, return the same string but convert all lower-case characters into their upper-case variants. |
+ | * This is experimentally entered into ReCodEx, try to solve this by submitting the solution to ReCodEx! | ||
==== Lab 05 ==== | ==== Lab 05 ==== |