I hereby claim:
- I am maf946 on github.
- I am mfriedenberg (https://keybase.io/mfriedenberg) on keybase.
- I have a public key ASCiZvnmNGJlO4xFbo2RLm52aqAzmuclvG3rdIPa2sYUPgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
// This is the player's hand. | |
// Write your code below here. | |
// Replace this line with your code | |
// This is the dealer's hand. | |
int cardD1 = (int) (Math.random() * (11 - 1 + 1)) + 1; | |
int cardD2 = (int) (Math.random() * (11 - 1 + 1)) + 1; | |
int dHand = cardD1 + cardD2; |
# say hello to the user | |
def printName(userName): | |
print("Hello, " + userName) | |
while 1: | |
userName = input("Please enter your name: ") | |
printName(userName) |
/* | |
* To change this license header, choose License Headers in Project Properties. | |
* To change this template file, choose Tools | Templates | |
* and open the template in the editor. | |
*/ | |
package currencyconversion; | |
import java.util.Scanner; | |
/** | |
* |
tap "adoptopenjdk/openjdk" | |
tap "homebrew/bundle" | |
tap "homebrew/cask" | |
tap "homebrew/cask-versions" | |
tap "homebrew/core" | |
brew "python@3.9" | |
brew "cask" | |
brew "coreutils" | |
brew "docker" | |
brew "exercism" |
# Any line that begins with "#" is a comment, and will not be interpreted | |
# Printing "Hello, World" | |
## We have to begin with the O.G. | |
print("Hello, World!") | |
## We are using the print() "function," which is built into python. We are saying, I would like to print, and then | |
## including what we would like to print within the parentheses. We could also print an integer using the print function: |
package unit3practicequizmodel; | |
import java.util.Scanner; | |
/** | |
* | |
* @author marcfriedenberg | |
*/ | |
public class Unit3PracticeQuizModel { | |
/** | |
* @param args the command line arguments |
package ultrablackjack; | |
import java.util.Scanner; | |
/** | |
* | |
* @author YOURNAMEHERE | |
*/ | |
public class UltraBlackjack { | |
/** |
/* | |
* To change this license header, choose License Headers in Project Properties. | |
* To change this template file, choose Tools | Templates | |
* and open the template in the editor. | |
*/ | |
package unit4ps21fa; | |
/** | |
* | |
* @author YOUR_NAME_HERE |
// NOTE: You cannot run this entire text file at once in Java. Copy each model answer to IntelliJ to review. | |
// QUESTION 1 | |
import java.util.Scanner; | |
public class Main { | |
public static void main(String[] args) { | |
Scanner scnr = new Scanner(System.in); |