Risolto


Project Euler: Problem 3, Largest prime factor
The prime factors of 13195 are 5, 7, 13 and 29. What is the largest prime factor of the number being input, input might be ui...

circa 2 anni fa

Risolto


Project Euler: Problem 5, Smallest multiple
2520 is the smallest number that can be divided by each of the numbers from 1 to 10 without any remainder. What is the smalle...

circa 2 anni fa

Risolto


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displayed ...

circa 2 anni fa

Risolto


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

circa 2 anni fa

Risolto


Add two numbers
Given a and b, return the sum a+b in c.

oltre 2 anni fa

Risolto


Energy Conversion 2

oltre 2 anni fa

Risolto


Energy Conversion 1

oltre 2 anni fa

Risolto


Velocity Conversion
Given a velocity in mph, convert it to km/h. Round the answer to the fourth decimal place.

oltre 2 anni fa

Risolto


Temperature Conversion 3
Given a temperature in Celcius, convert it to Fahrenheit.

oltre 2 anni fa

Risolto


Temperature Conversion 2

oltre 2 anni fa

Risolto


Temperature Conversion 1

oltre 2 anni fa

Risolto


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

oltre 2 anni fa