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; | |
import java.lang.Math.*; | |
class Calc_Mine { | |
public static void main(String[] args){ | |
boolean c=true; | |
while (c){ | |
Scanner scn = new Scanner(System.in); | |
System.out.println("Use loaded data or enter data yourself? (l/m)"); |
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.Random; | |
public class Neural { | |
static double weights[][] = new double[3][1]; | |
static double output[][] = new double[4][1]; | |
public static void main(String args[]) { | |
double input[][] = {{ 0, 0, 1 }, {1, 1, 1}, { 1,0,1 }, {0,1,1}}; | |
double trueoutput[][] = { {0}, {1}, {1}, {0}}; |
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 | |
setlocal enableDelayedExpansion | |
:MAIN | |
echo Type in name_of_this_program.bat the_number_you_want | |
echo This program will generate all possible PIN combinations of the amount of number you typed in | |
echo exapmle: PiGen.bat 4 ---> this program will generate all possible combinations of 4 digits number | |
echo if "Character was unexpected at this time" is returned, you did not input any number | |
echo | |
Set input=%* | |
if %input%== ( Character ) |