Hydrogens in a Saturated Hydrocarbon
Given (c) carbon atoms in a saturated hydrocarbon molecule (all single bonds), how many hydrogen atoms (h) are in the molecule?
2年以上 前
解決済み
sum of ASCII
Given a string x, return the sum of all ASCII numbers of all characters.
for example, if x='lala' ('l'-> 108, 'a'->97) then y...
2年以上 前
解決済み
what's my tax amount this year ?
given an annual salary x and a tax rate i calculate the amount that you have to pay.Example
x = 70000;
i=.10
y_correc...
2年以上 前
解決済み
Number of problems
No, you don't read it wrong: this assignment is to return the number of this problem (and not the problem of this number).
2年以上 前
解決済み
Sum of logarithms
Given a vector, v, of real positive numbers, compute the sum, s, of the base-10 logarithms of the elements of v, without the use...
Check capital letters
Check if each first letter of a string is a capital letter.
for example: 'This Is Ok' gives a true answer and 'This Is not Ok' ...