Want this question answered?
Be notified when an answer is posted
Chat with our AI personalities
8181818181 in an integer, not a fraction. But, if you had to convert it to a fraction, you could write it as 8181818181/1
$n = 10*(1+10)/2;
Write a function that implements an algorithm that checks to see if a particular integer is prime (returning a boolean). Write a program that uses that function on each number from 1 to 100, and if true, displays that number.
prompt x floor(x + .5) -> x disp x
1440 is an integer.