subject

Design a case structure that tests the month variable and does the following:
if the month variable is set to 1, it displays “january has 31 days.”
if the month variable is set to 2, it displays “february has 28 days.”
if the month variable is set to 3, it displays “march has 31 days.”
if the month variable is set to anything else, it displays “invalid selection.”

can anyone write this as a pseudocode?

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 05:00
Pls do you believe that the use of 3d animation has grown in feature films over the last few years? if so, do you think the trend will continue? what are the forces driving this trend?
Answers: 2
question
Computers and Technology, 23.06.2019 01:40
You have a linux system that has a 1000gb hard disk drive, which has a 90gb partition containing an ext4 filesystem mounted to the / directory and a 4gb swap partition. currently, this linux system is only used by a few users for storing small files; however, the department manager wants to upgrade this system and use it to run a database application that will be used by 100 users. the database application and the associated data will take up over 200gb of hard disk space. in addition, these 100 users will store their personal files on the hard disk of the system. each user must have a maximum of 5gb of storage space. the department manager has made it very clear that this system must not exhibit any downtime as a result of hard disk errors. how much hard disk space will you require, and what partitions would you need to ensure that the system will perform as needed? where would these partitions be mounted? what quotas would you implement? what commands would you need to run and what entries to /etc/fstab would you need to create? justify your answers.
Answers: 3
question
Computers and Technology, 23.06.2019 06:00
What machine listens for http requests to come in to a website’s domain? a. a router b. a browser c. a server d. a uniform resource locator
Answers: 1
question
Computers and Technology, 23.06.2019 18:00
While inserting images, the picture command is usually used to insert photos from a digital camera, and the clip art command is usually used to a.edit the sizes and other characteristics of photos that have been inserted. b.take a screenshot of an image and copy it to the clipboard for pasting. c.search for drawings or other images from a library of prepared pictures. d.make illustrations using lines and shapes that are easy to manipulate.
Answers: 1
You know the right answer?
Design a case structure that tests the month variable and does the following:
if the month v...
Questions
question
Mathematics, 01.03.2021 20:30
question
Mathematics, 01.03.2021 20:30
question
Mathematics, 01.03.2021 20:30
question
Mathematics, 01.03.2021 20:30
question
Mathematics, 01.03.2021 20:30
question
Mathematics, 01.03.2021 20:30
question
Mathematics, 01.03.2021 20:30
Questions on the website: 13722360