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
package assignments; | |
import java.util.Arrays; | |
import java.util.Scanner; | |
public class TicTacToe | |
{ | |
Scanner keyboard; | |
char input; | |
int i, j, coordinate1, coordinate2; |
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
/** | |
* Maria Kalusz | |
* Lab 12 - Array of Counters | |
* April 24, 2015 | |
*/ | |
package assignments; | |
import java.util.Arrays; | |
import java.util.Scanner; |
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 os | |
class catDog(): | |
def _init_(self): | |
pass | |
def readFile(self, fn): | |
path = r'C:\Users\tuc31890\Downloads' |
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
/** | |
* Maria Kalusz | |
* Lab 11 - Prime Factorization | |
* April 17, 2015 | |
*/ | |
package Assignments; | |
import java.util.List; | |
import java.util.ArrayList; |
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
/** | |
* Maria Kalusz | |
* Lab 10 - Class Definition | |
* Program Design and Abstraction | |
* April 10, 2015 | |
*/ | |
package assignments; | |
import java.util.Scanner; |
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
## LAB7.py | |
## Name: Maria Kalusz ID: tuc31890 | |
## Date: 3/31/2015 | |
## Lab 7 CS1051 | |
## Reads files of words and output sentences that randomly combine the words | |
##**************************************************************************** | |
import os | |
from random import randint |
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
def main(): | |
correctNum = int(input("Enter an integer between 1 and 99 for the computer to guess:")) | |
print("The number to guess is %d. SHHHH!!!!" % correctNum) | |
minVal = 1 | |
maxVal = 99 | |
guess = avgVal(minVal, maxVal) | |
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 math | |
INPUTS = [] | |
RESULTS = [] | |
def main(): | |
addToList() | |
a = len(INPUTS) |
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
package Assignments; | |
public class HangmanDemo | |
{ | |
public static void main(String[] args) | |
{ | |
Hangman word; | |
word = new Hangman(); | |
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
package Assignments; | |
import java.util.Scanner; | |
public class Hangman | |
{ | |
String secretWord, totalGuesses, letter, guessWrong; | |
int countWrong; | |
StringBuffer hideWord; | |
Scanner keyboard; |