Skip to content

Instantly share code, notes, and snippets.

@DjCr4sh
DjCr4sh / .java
Created October 17, 2015 15:26
Calcolatrice in Java (metodo strutturale)
import java.util.Scanner;
public class calcolatrice {
public static void main (String args[]) {
//Variabli
Scanner scelta = new Scanner(System.in);
Scanner input = new Scanner(System.in);
@DjCr4sh
DjCr4sh / .java
Created October 17, 2015 15:21
Confronto 2 attributi
class Computer {
double costo;
boolean on_off;
public Computer (double c, boolean d){