Drawing A Hollow Rectangle Using Java

By |2017-04-07T22:11:51+06:00October 29th, 2016|Categories: Java, Programming|Tags: , , , , , , |

hello people, here is easy code for drawing a hollow rectangle using java. this code displays a rectangle of given length and width. Sample input: 4 5 Sample output ***** *      * *      * ***** import java.util.Scanner; public class hollowRectangle{ [...]

Drawing Isosceles Triangle of A Given Height Using Java

By |2017-04-07T22:11:51+06:00October 26th, 2016|Categories: Java, Programming|Tags: , , , , , , |

hey everyone so i tried write a code on drawing isosceles. if you have any easier ways to solve it do let me know... import java.util.Scanner; public class task{ public static void main(String args[]){ Scanner anik = new Scanner(System.in); System.out.println("give a line number"); int [...]