thats the third time i ask for this questions and it comes out wrong
do it on eclipse.... make sure it runs
Outcome:
Student will demonstrate the ability to write, use and call methods
Student will demonstrate the ability to pass values to and from methods
Student will demonstrate the ability to catch exceptions
Student will demonstrate the ability to create a text file
Student will demonstrate the ability to validate input data
Program Specifications:
You to write a menu driven program. The program will use a switch statement. The cases will be as
follows:
1. Get the user’s first name and echo it back out 20 times.
2. Get the Store user’s age and double it and display the age and the doubled age.
3. Using the age from #2 output one of the following statements
a.
Since you are 99 years old, you are a teenager
b. Since you are 99 years old, you are NOT a teenager
4. Get a single integer between 3 and 50 from the user. Create a triangle of X’s with the integer
inputted rows. The triangle needs to be displayed on the screen and in a text document named
triangle.txt.
Submission Requirements:
You must follow the rules from the second assignment.
YOU CANNOT:
Use global variables
Use the word goto
Use the break command outside a case statement
thats the third time i ask for this questions and it comes out wrong do it...
Methods and File Output and Exceptions Outcome: Student will demonstrate the ability to write, use and call methods Student will demonstrate the ability to pass values to and from methods Student will demonstrate the ability to catch exceptions Student will demonstrate the ability to create a text file Student will demonstrate the ability to validate input data Program Specifications: You to write a menu driven program. The program will use a switch statement. The cases will be as follows: Get...
java. do it on eclipse. the same way its instructed Second Inheritance OOP assignment Outcome: Student will demonstrate the ability to understand inheritance Program Specifications: Programming assignment: Classes and Inheritance You are to pick your own theme for a new Parent class. You can pick from one of the following: Person Automobile Animal If you choose Person, you will create a subclass of Person called Student. If you choose Automobile, you will create a...
Can you please pick Automobile For this assignment. Java Programming Second Inheritance OOP assignment Outcome: Student will demonstrate the ability to use inheritance in Java programs. Program Specifications: Programming assignment: Classes and Inheritance You are to pick your own theme for a new Parent class. You can pick from one of the following: Person Automobile Animal Based on your choice: If you choose Person, you will create a subclass of Person called Student. If you choose Automobile, you will create...
I have this problem for a final thats in my book thats i'm stuck on . Any help would be really appreciated. Design and code a Swing GUI to translate text that is input in English into Pig Latin. You can assume that the sentence contains no punctuation. The rules for Pig Latin are as follows: ⦁ For words that begin with consonants, move the leading consonant to the end of the word and add “ay.” For example, “ball” becomes...
I'm stuck, if you can provide the code I can put it into the
BASH environment
Executing tasks: In this section of the project, you will demonstrate your ability to execute Linux commands to create files and create and organize the Linux directory structure. At the end of this section, you will create a log file that will include a list of all the commands you used to complete these steps. VII. In the workspace directory, create new directories titled...
Create a UML diagram to help design the class described in exercise 3 below. Do this exercise before you attempt to code the solution. Think about what instance variables will be required to describe a Baby class object; should they be private or public? Determine what class methods are required; should they be private or public? 3. Write Java code for a Baby class. A Baby has a name of type String and an age of type integer. Supply two...
1. Create a UML diagram to help design the class described in Q2 below. Do this exercise before you attempt to code the solution. Think about what instance variables will be required to describe a Person class object; should they be private or public? Determine what class methods are required; should they be private or public?2. Write Java code for a Person class. A Person has a name of type String and an age of type integer.Supply two constructors: one will be...
Could someone help me out. I am not sure what I should
be doing. Seeing it worked out will allow me to understand what I
should be doing and then I can complete it on my own.
Usando 2. Complete the Dog Class: a. Using the UML Class diagram to the right declare the instance variables. A text version is available: UML Class Diagram Text Version b. Create a constructor that incorporates the type, breed, and name variables (do not...
IN JAVA 04. Fourth Assignment – Facebook Friends We’ll continue with the Facebook application by enabling the ability to friend and defriend people through our driver program. In particular, you will need to add four new menu options: friend someone, de-friend someone, list friends, and recommend new friends. Of course, you’ll need to add new methods to the Facebook class to perform these actions. The first three of these new functions (friending, de-friending, and listing friends) are similar to the...
In Java(using BlueJ) Purpose Purpose is to practice using file input and output, and array list of objects. Also, this lab specification tells you only what to do, you now have more responsibility to design how to do it. Problem description You are given a text file called 'Students.txt' that contains information on many students. Your program reads the file, creating many Student objects, all of which will be stored into an array list of Student objects, in the Students...