Skip to content

Instantly share code, notes, and snippets.

View oziguerra's full-sized avatar
💭
Life

Oziel Guerra oziguerra

💭
Life
View GitHub Profile
protected void actionOnTouch(float x, float y) {
//Increase/decrease the speed of the ball making the ball move towards the touch
//mBallSpeedX = (x - mBallX)*2;
//mBallSpeedY = (y - mBallY)*2;
mBallX = x;
mBallY = y;
}
public class PrimeNumbers
{
public final static int MIN = 1;
public final static int MAX = 1000;
public static void main(String[] args)
{
int count = primeRange(MIN, MAX);