This file contains 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
@echo off | |
set exe="C:\Program Files\7-Zip\7z.exe" | |
for /R /D %%i in (*) do ( | |
echo %%i | |
cd "%%i" | |
%exe% a -tzip -mx=0 "%%i.zip" * >> NUL | |
cd .. | |
if exist "%%i.zip" rmdir /S /Q "%%i" |
This file contains 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
import java.util.Scanner; | |
class Cards { | |
public static void main(String[] args) { | |
System.out.print("numPlayers: "); | |
Scanner stdIn = new Scanner(System.in); | |
int numPlayers = stdIn.nextInt(); | |
System.out.print("deck: "); | |
String deck = String.valueOf(stdIn.nextInt()); |