Develop a season checking program

Assignment Help C/C++ Programming
Reference no: EM133516070

Discussion - Define Constant and Enumeration

Research and write a 200 word post to define and describe these C# items

• C# switch statement
• C# enum
• C# ternary operator

Assignment - Develop a Season Checking Program

Write a console application that allows users to input the month in numerical value (1-12), and tell the user what season it is.

1. Create an enum of months of the year
January, February, March, April, May, June, July, August, September, October, November, December.

2. Create an enum of seasons:
Spring, Summer, Fall, Winter.

3. Ask user for input:
"Please enter the month in numerical value (1-12) ° I

4. Take user input and store it in a integer variable.

5. Use if-else statement to make sure that user inputs a numerical value, and the value is within 1-12-

a If value is not a number, and it is not in range between 1-12, display message Please close program, run the program again, and input number between 1-12"

b If value is a number, and it is in range between 1-12, use a switch-case statement to check for the month.

a. If the month is March, April and May - Display message 'Today is Spring season'
b. If the month is June, July, and August - Display message 'Today is Summer season"
c. If the month is September, October. and November - Display message "Today is Fall season°
d. If the month is December, January. February - Display message 'Today is Winter season'

6. Write an APA paper that explains your development process:
a. Identify any roadblock or challenge encountered during the development. ‘
b. How did you solve any roadblock or challenge you faced'
c. Describe each line of code in your console application program cs file, its function and reasons for existence
d. Provide a screen shot of program results (the console application black screen).

Reference no: EM133516070

Questions Cloud

Analyze industry based on internal rivalry within industry : Analyze the industry based on the Internal Rivalry within the industry. The choice of industry must be approved by the instructor.
What are the two motives for learning to speak : Which social network site now has the most monthly active users? What are the two motives for learning to speak? Select all that apply.
What is going on in economy compared to what numbers tell us : Using the framework of the unemployment rate, contrast what is going on in the economy compared to what the numbers tell us.
How are current economic political and social environments : How are the current economic, political, and social environments of today different from those of 125 years ago? How are they similar?
Develop a season checking program : Define Constant and Enumeration and Develop a Season Checking Program - dentify any roadblock or challenge encountered during the development
Effectiveness of their brand posts in terms : Visit at least two different Instagram brand pages OR two different Facebook brand pages and evaluate the effectiveness of their brand posts in terms
Designated research water conservation equipment : Design the research plan and conduct the designated research water conservation equipment in any one of the countries selected in the above question.
What is the rate for an fra over the period from six months : If the six-month interest rate is 6% and the one-year interest rate is 8%, what is the rate for an FRA over the period from six months to one year?
Discuss the need for having athletic handbook : Discuss the need for having an athletic handbook. Discuss how the strategic plan becomes a working document for an athletic department

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Explain how to convert c program to mips program

Convert the following C program to MIPS program. Assuming that i, j, k, f, are stored in registers $s0, $s1, $s2, $s3 already.

  Write a program that calculates tension

Write a program using Cygwin or C that calculates tension. You can put any values for mass and velocity. T = mg + mv^2 T is tension.

  Prepare a c program that has this description

n is an integer, >= 0. x points to the first element of an int array with n position. p points to the first element of another int array array, also with n position.

  Why is look-up faster for a binary search tree

Why is look-up faster for a Binary Search Tree then Linked List?Why is it difficult to perform a binary search on a linked list?

  Generate a main program which initializes

Generate a main program which initializes your data array to be sorted - be careful with your array index numbers. You can use a random number generator to generate entries for the array.

  Create a small database with a table or two

Use Microsoft access to create a small database with a table or two. Remember that your Microsoft Access is most likely a more recent version, so you will see some differences.

  Determine a mixed strategy for terry

If he studies biology and there is a quiz in it, he gains ten points but there is no gain if there is no quiz. Determine a mixed strategy for Terry, and the expected payoff.

  Create your own programmer-defined class

How is the syntax for a class in C++ similar to the syntax for structures in C? Use this syntax to create your own programmer-defined class

  Write a function to compute the number of combinations that

You are given coins of different denominations and a total amount of money. Write a function to compute the number of combinations that make up that amount. You may assume that you have infinite number of each kind of coin.

  Use while-loop when number of iterations is not known

Your program should conform to the following constraints. · Use a while-loop when the number of iterations is not known before loop execution.

  Write a function to convert the two dimensional coordinates

Write a function to convert the two dimensional coordinates of a point from Cartesian system to polar system by using x and y as its parameters, returning r and using references to pass theta value.

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