Write down a program which prompts the user to enter the

Assignment Help Computer Engineering
Reference no: EM13466747

Write a program that prompts the user to enter the year and displays the Chinese Zodiac for the year. The Chinese Zodiac is based on a twelve year cycle, each year being represented by an animal: rat, ox, tiger, rabbit, dragon, snake, horse, sheep, monkey, rooster, dog, and pig, in this order. Note 1900 is the year of rat. Here are some sample runs:

Here are sample runs of the program:

Sample 1:
Enter a year: 1963
rabbit

Sample 2:
Enter a year: 1877
ox

Reference no: EM13466747

Questions Cloud

Recognize four leadership styles related with path-goal : recognize four leadership styles associated with path-goal theory. explain each style and relate it to styles described
Cmpare cash-balance defined benefit and defined : compare and contrast cash-balance defined benefit and defined contribution plans. discuss the advantages and
Compare the statistics reported here from 1997 to the : in a 1-2 page paper summarize your findings and decisions on the following case studies. be sure to explain your
Describe whathow situational variables influence task : explain whathow situational variables affect task motivated and relationship-motivated leaders. apply these factors to
Write down a program which prompts the user to enter the : write a program that prompts the user to enter the year and displays the chinese zodiac for the year. the chinese
Explain the major components of executive compensation plan : describe the major components of an executive compensation plan and discuss the effect reverse descrimination has had
Write a paper not including the title and reference pages : write a three to four page paper not including the title and reference pages about a contemporary leadership situation
Small projects dont usually need the same level of analysis : do you think that a supportive stakeholder will have more influence on the project than a nonsupportive one? why?is
The company cso has asked you to draft a memo which gives : you are a security engineer for a hospital group based in cincinnati oh. your group has just acquired a small hospital

Reviews

Write a Review

Computer Engineering Questions & Answers

  Write one exception class that includes multiple exceptions

How would you write one exception class that includes multiple exceptions, for example, if a file is not found and if an array is not dynamically allocated properly. (C++)

  Make use of apa for referencing and citation

Your database is performing poorly, and you just began this new job within the past month. You ask to see the documentation for the system and are told it does not exist.

  Imagine that a doubly linked list "header"

Assume that a doubly linked list "header" stores the elements of a priority queue. make use of the function pop(), which deletes the element with the largest value from the list (priority queue).

  What personnel implications are when setting up a wan

What personnel implications are when setting up a wan? You are hired by a firm that has offices in Peru, France, the United States, and Hungary. Your job is to coordinate a team of IT workers to connect all of individual sites into one large WAN.

  Find the worst-case runtime of this incorrect algorithm

What is the worst-case runtime of this incorrect algorithm? supply as tight an asymptotic upper bound as possible, using Big-Oh notation as a function of n. Justify your answer.

  Q1answer following questions in short and to the point

q.1.answer following questions in short and to the point only.a what are the strategies kernel chooses for handling

  In this project you will prepare a program by using an

in this project you will create a program using an array which keeps a list of the rent rates for an apartment

  Define the principle for creating a database

Define the principle for creating a database

  Desktop pc and a computer suitable as a web server

This solution provides the learner with an understanding of two and 3 tierd architectures and explains the role of each architecture. Futher this solution explain the main differences between a desktop PC and a computer suitable as a web server.

  Make a gui that will create the objects

sketch a GUI that will create the objects and provide access to each object's processing methods.

  Why should asks the user to enter a number from 1 to 50

Print the statement "Programming is fun" the number of times entered by the user using the for loop.

  Make a professional-looking document

though, if you have a one page article and a one page summary, then the score would still be high, but may also indicate that you need to use more of your own words in the summary. Also as a reminder, whenever, you copy the words of another author..

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