So I was assigned to make a diamond with asterisks in Java and I\'m really stumped. Here\'s what I\'ve come up with so far:
public class Lab1 { public s
public class MyDiamond { public static void main(String[] args) { int numRows=151;//Length of the pyramid that we want.151 is just an example int midrow = (numRows+1)/2;//midrow is the middle row and has numRows number of * int diff=0; for(int i=1;i