Zybooks IT-145 3.24.1 Drawing a half arrow java.docx - 3.24.1 Program Drawing a half arrow(Java import java.util.Scanner public class DrawHalfArrow

Zybooks IT-145 3.24.1 Drawing a half arrow java.docx -...

This preview shows page 1 out of 1 page.

3.24.1: Program: Drawing a half arrow (Java) import java.util.Scanner; public class DrawHalfArrow { public static void main(String[] args) { Scanner scnr = new Scanner(System.in); int arrowBaseHeight = 0; int arrowBaseWidth = 0; int arrowHeadWidth = 0; System.out.println("Enter arrow base height: "); arrowBaseHeight = scnr.nextInt(); System.out.println("Enter arrow base width: "); arrowBaseWidth = scnr.nextInt(); System.out.println("Enter arrow head width: ");
Image of page 1

You've reached the end of your free preview.

Want to read the whole page?

  • Winter '17
  • Robinson, Dawn
  • new Scanner, Scanner scnr, public class DrawHalfArrow

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture