• Member Since 26th Mar, 2016
  • offline last seen Jan 31st, 2019

MadDonut


Don't be reasonable. Get MAD!!! MadDonut.

More Blog Posts30

  • 288 weeks
    I'm Still Alive: Dragon Kindred, a new fictional series...

    Hey, so its been a while since I've written anything or associated much with the MLP fanfiction community but in the one year I was dead, I also began writing a whole new original story named, Dragon Kindred and the Gyr Worshipers, the first in the Dragon Kindred series.

    Read More

    0 comments · 260 views
  • 368 weeks
    My New Mare!

    I can't resist I need to show her off! I won a ych bid commission EZTP ran.

    (Link to the DV page)
    So this is my new Mare, Jepordy! Combat Boots is her nickname.

    Read More

    1 comments · 342 views
  • 368 weeks
    Making Friends Everywhere You Go

    Got this lil' image of a peeved looking Adridge. Thanks to Mik3TheStrange over on picarto for doing me this generous favor.

    Some one must've eaten all the donuts!

    1 comments · 340 views
  • 369 weeks
    Hnng... Story Time...

    Had nothing planned this week despite it being spring break and all but then I remembered I had a particular story already written out and nearly done. Any one like Dileak: Turquoise, Sapphire and Ralek?
    Stay tuned until four.

    0 comments · 292 views
  • 372 weeks
    This Week's Plan

    This week is kinda up in the air for what I have planned, we got three possibilities. I begin work on the Ashes of Igneous and that nice little one to two chapter long subplot where he and Raillay inadvertently uncover the truth about the diseased wheat fields. I could get another chapter on Hexers going covering the history of both the horses and gryphon while also advancing the plot along with,

    Read More

    0 comments · 308 views
Oct
15th
2016

Next Week's Insight · 6:07pm Oct 15th, 2016

So finished the Fire of the fighter chapter 3 already now I just need to spend the next week shining it up. It contains the fight along with seeing an alchemy warrior briefly in action. Just under six thousand the fight is a bit extensive but it also contains two subchapters of Adridge and Lindestic. They get a bit personal.
As for what comes this week its the Hexers chapter two. That had been done for a while but Now I just need to spend the next week looking over it while also getting to work with chapter 4 of Fire with the fighter.
I'll see ya Friday and in the mean time you can take a look at this little peace of work I did in programming last week.
I would explain but basically its matrix math and if you know anything about the matrix its that its super damn hard to explain so yea.

package com.company;

import java.util.Random;
import java.util.Scanner;

public class Main {

public static void main(String[] args) {
// write your code here
Random myRandom = new Random();
Scanner myScanner = new Scanner(System.in);

String userInput;
int userInput0;

System.out.println("Welcome to the Matrix Math Hirschi");

System.out.println("How manny Arrays will you have?");
userInput0 = myScanner.nextInt();

int[][] arrayA = new int[userInput0][userInput0];
int[][] arrayB = new int[userInput0][userInput0];
int[][] arrayC = new int[userInput0][userInput0];

if (userInput0 < 100) {

for (int rows = 0; rows < userInput0; rows++) {
for(int columns = 0; columns < userInput0; columns++){
arrayB[rows][columns] = myRandom.nextInt(101);
arrayC[rows][columns] = myRandom.nextInt(101);
}
}
}

else {
System.out.println("That is not a valid answer");
System.out.println("Game Over");
}

System.out.println("...");

int printRow;
int printColumns;
String space = " ";

for (printRow = 0; printRow < userInput0; printRow++) {
for (printColumns = 0; printColumns < userInput0; printColumns++) {
space = space.concat(arrayB[printRow][printColumns] + " ");
}
System.out.println(space);
space = " ";
}

System.out.println("...");

for (printRow = 0; printRow < userInput0; printRow++) {
for (printColumns = 0; printColumns < userInput0; printColumns++) {
space = space.concat(arrayC[printRow][printColumns] + " ");
}
System.out.println(space);
space = " ";
}


myScanner.nextLine();
System.out.println("Will you be doing addition or multiplication?");
userInput = myScanner.nextLine();

if (userInput.equals("+")) {System.out.println("Addition");
for (printRow = 0; printRow < userInput0; printRow++){
for (printColumns = 0; printColumns < userInput0; printRow++){
arrayA[printRow][printColumns] = arrayB[printRow][printColumns] + arrayC[printRow][printColumns];
}
}
}

if (userInput.equals("*")) {System.out.println("Multiplication");
for (printRow = 0; printRow < userInput0; printRow++){
for (printColumns = 0; printColumns < userInput0; printColumns++) {
arrayA[printRow][printColumns] = arrayB[printRow][printColumns] * arrayC[printRow][printColumns];
}
}
}

System.out.println("...");

for (printRow = 0; printRow < userInput0; printRow++) {
for (printColumns = 0; printColumns < userInput0; printColumns++)
//System.out.println(arrayA[printRow][printColumns]);
space = space.concat(arrayA[printRow][printColumns] + " ");
System.out.println(space);
}
}
}

Report MadDonut · 174 views · #insight #stories
Comments ( 0 )
Login or register to comment