Skip to content

Instantly share code, notes, and snippets.


Mariia Skyba mindskai27

Block or report user

Report or block mindskai27

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
mindskai27 / Decimal to Binary Converter
Last active Jan 10, 2018
Decimal to Binary Converter
View Decimal to Binary Converter
import java.util.Scanner; //enable keyboard input reading
public class DtoBConverter
public static void main(String args[])
Scanner sc = new Scanner(; //create an instance of the Scanner class
System.out.println("Enter your decimal number: "); //prompt the user about the expected input
int decimal = sc.nextInt(); //read in the decimal number
String binary = new String(""); //create a String to save a binary equivalent of the decimal number
View Spaceship_flight_game
// Third Person Spaceship Game
// Credit to Frederik Rogalski (openprocessing)
// Credit to Alex Samuel (openprocessing)
// General queries and information:;
// Impact sound effect:
// Mouse click sound effect: http:
// Spaceship sound effect:
// Main music theme: Tales - Endless Spaces
You can’t perform that action at this time.