Determina si el número es primo
Primero, antes que nada: ¿Qué es un número primo?
Un número primo es cualquier número que solamente se puede dividir por 1 y ...
3年以上 前
解決済み
Determina el número de cifras de un número
Crea una función que te devuelva el número de cifras de un número.
Algunos ejemplos para ayudarte serían:
El número 125 tie...
3年以上 前
解決済み
Friday or not
I love Friday. Please tell me whether the day is Friday.
Dateformat is 'yyyy-mm-dd' or 'dd-mmm-yyyy' or 'mm/dd/yyyy'.
Exa...
Count photos
Given n people, everyone must have pictures taken with everyone, each photo includes only two persons, please count the total nu...
3年以上 前
解決済み
Try 1.5.4: Celsius to Fahrenheit
Write a program to convert an input given in Celsius to Fahrenheit.
Examples:
Input celsiusValue = 100
Output fahrValu...
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?
3年以上 前
解決済み
Find parts of a circle.
Given radius (r) of a circle find the diameter (d), circumference (c), an area (a).
3年以上 前
解決済み
Free-time Equation
Given a 7-day week, an *_nc_* -number of *_tc_* -hour classes, *_ta_* -hours awake in a day, and *_tw_* -hours that you work in ...
3年以上 前
解決済み
Probability of red tulips
I hope to give you bulbs of tulip. But I do not know the color of those petals. I just know that the color is red, white or yell...