This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public abstract class Mixologist extends Person { | |
protected static Integer numServings = 0; | |
protected static synchronized void addServing() | |
{ | |
numServings++; | |
} | |
... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <ctime> | |
using namespace std; | |
int insattning(){ | |
int tal; | |
cout << "Sätt in 100, 300 eller 500 kr "; | |
do { | |
NewerOlder