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
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(System.in); //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
// CREDITS AND USED RESOURCES:
// Credit to Frederik Rogalski (openprocessing) https://www.openprocessing.org/sketch/445916
// Credit to Alex Samuel (openprocessing) http://www.openprocessing.org/sketch/66950
// General queries and information: https://processing.org; https://forum.processing.org/two/
// Impact sound effect: http://soundbible.com/346-Metal-Impact-Hollow.html
// Mouse click sound effect: http: http://noisefx.ru/skachat-zvuki-klika-myshi.html
// Spaceship sound effect: https://www.soundjay.com/propeller-plane-sound-effect.html
// Main music theme: Tales - Endless Spaces
You can’t perform that action at this time.