import java.util.Scanner; public class diamond{ public static void main(String args[]){ Scanner input=new Scanner(System.in); System.out.print("Enter a character: "); String alpha=input.nextLine(); System.out.print("How many even number of rows do you want the diamond to have? "); int rows=input.nextInt(); for (int i=rows/2;i>=1;i--){ for (int j=1;j<=i;j++){ System.out.print(alpha); } for (int j=1;j<=(rows-i*2);j++){ System.out.print(" "); } for (int j=1;j