Determine and return the zodiac sign

Assignment Help Computer Engineering
Reference no: EM132200783

Write a JAVA program called ZodiacFinder.java that takes two integers as input (month and day) and prints the Zodiac sign corresponding to the month (1 = January, 12 = December) and the day (1 - 31).

Use a method (called userInput() )for user input - use one method to input an integer called twice - but, prompt the user for the appropriate data item. Error trap your user - the user can enter a month between 1 and 12, the user can only enter a day between 1 and 31.

Use a method (called determineZodiac () ) to determine and return the Zodiac sign.

Use a method (called displayAll () ) to display the month, day and the corresponding Zodiac sign

Reference no: EM132200783

Questions Cloud

How the round robin scheduling algorithm works : Topic 1: Discuss how the round robin scheduling algorithm works.
Which cache block will the memory reference : Suppose a computer using fully associative cache has 216 words of main memory and a cache of 64 blocks, where each cache block contains words 32.
Write a java program that implements bubble sort : Write a Java Program that implements Bubble Sort with user input of numbers.
Ajax applications are gaining in popularity : Why do you think AJAX applications are gaining in popularity? What are their advantages?
Determine and return the zodiac sign : Write a JAVA program called ZodiacFinder.java that takes two integers as input (month and day) and prints the Zodiac sign corresponding to the month.
Write a java program of the implementation of a linked list : Write a Java program of the implementation of a linked list. The program includes lList.java and lListTester.java.
Given a tiny computer that has a word size of 6 bits : Given a tiny computer that has a word size of 6 bits, what is the smallest negative number this computer can represent ones complement?
Implement a superclass appointment and subclasses onetime : Implement a superclass Appointment and subclasses Onetime, Daily, and Monthly. An appointment has a description and a date.
Should the money be invested : Suppose that a town is considering investing money into making a public show in a park that can be enjoyed by families during a weekend.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Compare and contrast telnet and ftp

find out whether or not additional components could be added to the IPv4 protocol to enhance its usefulness.

  Describes the process of migrating existing data to testing

Develop a data conversion plan that describes the process of migrating existing data to the testing platform.

  How many different final sums satisfy the conditions

Write a function that computes how many different final sums satisfy the conditions .

  How many bits are required to reference a page frame

A system has a virtual memory space of 8 virtual pages for a process with 4 blocks per page and 8 words per block. The main memory consists of 32 page frames with 4 blocks per page and 8 words per block. How many bits are required to reference a p..

  What kind of code is placed in a script element

What kind of code is placed in a script element? From what class does an ASP.NET document class that uses a code-behind file inherit?

  Implementation of type data structures

How can string and word variable type data structures be implemented?

  Define project other than earned value measurement

What other ways can you track and measure performance of a project other than Earned Value Measurement (EVM)

  Implement the given class hierarchy inside of a module

Implement the following class hierarchy inside of a module file called polygon.py. Write another "driver" script called project1.py which imports the polygon.py module, reads an input file of polygonal data and writes another file of areas and peri..

  Why does ivy use an invalidation scheme for consistency

Why does IVY use an invalidation scheme for consistency instead of an update scheme? Will pro-grams using this instruction work on a page-based DSM system?

  Explain two methods for categorical data conversion

explain two methods for categorical data conversion. List the advantages and disadvantages of this approach.

  Show how you derive a recurrence system for the shellfish

Show how you derive a recurrence system for the shellfish population in the n-th year after 2000.

  What is a modified hamming code

Hamming codes become more efficient (efficiency is the ratio of check bits to total word length) as the number of bits in the source word increases.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd