• Breaking News

    Saturday, February 19, 2022

    I bought this Turing Patent Poster for my nephew but I don't understand it myself. Can anyone help a 7 year old understand it? (Also is it a real patent or a gimmick) Computer Science

    I bought this Turing Patent Poster for my nephew but I don't understand it myself. Can anyone help a 7 year old understand it? (Also is it a real patent or a gimmick) Computer Science


    I bought this Turing Patent Poster for my nephew but I don't understand it myself. Can anyone help a 7 year old understand it? (Also is it a real patent or a gimmick)

    Posted: 19 Feb 2022 07:45 AM PST

    abracadabra: How does Shazam work?

    Posted: 19 Feb 2022 10:59 AM PST

    User input for java on a loop

    Posted: 19 Feb 2022 06:59 PM PST

    Hey everyone, I am pretty new to Java and was wondering how I could set a minimum and maximum number for a user to input to use in a loop. I'm making a side project for practice about golf handicap, and you need a minimum of 5 scores and maximum of 20 to use for the calculation. What would I change so that if the user only inputs 4, or 21 scores, it makes them restart. Basically, it would be nice to be able to remove the first print statement, and just have the user input an amount of scores. ANY help is greatly appreciated.

     public static void main(String[] args) { System.out.print("\nHow many scores would you like to enter (must be higher than 5, and lower than 20): "); Scanner scnr = new Scanner(System.in); int AmountScores = scnr.nextInt(); double CourseRating; double SlopeRating; double Handicap; double[] array = new double[AmountScores]; double SumOfScores = 0; for (int i = 0; i < array.length; i++) { System.out.print("Enter score " + (i + 1) + ": "); array[i] = scnr.nextDouble(); } 
    submitted by /u/Op_2873
    [link] [comments]

    What would be a good name for a Turing Machine video game?

    Posted: 19 Feb 2022 06:48 AM PST

    I'm in the beginning stages of designing a Turing machine based video game, where players will be challenged to complete levels by writing instructions for a Turing machine. The only problem is that I can't seem to come up with a good name for the game. I was hoping that maybe you guys would have some ideas. Oh, and one last thing, the name cannot be 'Turing Complete' or 'Turing Test', as those are already taken by other games.

    submitted by /u/nave0424
    [link] [comments]

    No comments:

    Post a Comment