Declare the global array variables

Assignment Help Basic Computer Science
Reference no: EM132185930

//Add statements to declare the global array variables

Declare Real notGreenCost = [6]

Declare Real goneGreenCost = [6]

Declare Real Savings = [6]

Declare String Month [6] = "January", "February", "March", "April", "May", "June"

Module main()

           //Declare local variables

           Declare String endProgram = "no"

           Call initMonths()  

           While endProgram == "no"

                       //Module calls

                       Call getNotGreen()

                       Call getGoneGreen()

                       Call energySaved()

                       Call displayInfo()

                       Display "Do you want to end the program (enter yes or no):"

                       Input endProgram

                       While endProgram<>"no" AND endProgram<>"yes"

                                   Display "Please enter a value of yes or no: "

                                   Input endProgram

                       End While

           End While

End Module

 

Module initMonths()

           months = "January", "February", "March", "April", "May", "June"

End Module

Module getNotGreen()

           //Add statements to retrieve 6 months of info and save to the array

End Module

Module getGoneGreen()

           //Add statements to retrieve 6 months of info and save to the array

End Module

Module energySaved()

           //Add statements to calculate 6 months of savings and save to the array

End Module

Module displayInfo()

           //Add statements to display results as shown above

End Module

Is it possible for me to get help on this answering the ones with "//" ?

Reference no: EM132185930

Questions Cloud

Define the concept of currency manupulation : Please explain and define the concept of currency manupulation. Please explain at least 2 policy options that you think will be best to prevent/stop.
Procedure to produce bcnf tables : Apply the simple synthesis procedure to produce BCNF tables using the following FD list. Show the results of each step in your analysis.
Determine what you would do differently : Your overall evaluation of their strategies. What suggestions might you make to improve the company's global expansion with new products or services?
What will be the impact of the act on employment : What will be the impact of this act on employment in the coming years? As a student of economics, give 5 steps as a "suggestion plan" to sustain economic growth
Declare the global array variables : //Add statements to declare the global array variables
Do you agree or disagree with the given view : Marx argues that capitalism is ultimately unsustainable. Do you agree or disagree with this view? Give two non-question begging reasons supporting your answer.
Define law of marginal returns or law of increasing costs : Another important law in economics is the "law of marginal returns or the law of increasing costs". Discuss in terms of your study in this course.
Find new labor demand at each of the same wage rates : If the price for guitar lessons goes up to $35/hour, Jim's demand for Labor will change. Find his new Labor demand at each of the same wage rates above.
Describe the role of analytics in healthcare : Describe the role of analytics in healthcare. How does HIT support or hinder this?

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Excel independent projects

I have 10 excel independent projects .There all form the text " Microsof Office 2013 Excel : In Complete " I have all the info and the start files. Since they're relatively easy and less then a page on the majority of them. I have no knowledge wit..

  Specification of what should be implemented

We can define a requirement as "a specification of what should be implemented". What are the two types of requirements?

  Would consumers be better off in terms of welfare

Would consumers be better off in terms of welfare, when you compare a firm in monopolistic competition, oligopoly, and monopoly to one in perfect competition?

  Discuss the importance of metadata

Discuss the importance of metadata and some of the various ways (Microsoft) SQL Server allows you to expose that information.

  Question regarding the minimum score

What is the minimum score she must recieve on the fifth test to have an overall test score average that is greater than or equal to 90? (Set up and solve an inequality to answer this question).

  Analyse a packet capture dump file

This assignment question requires that you analyse a packet capture dump file and provide comments explaining each packet. See assignment 1 page of the course website. This pcap file contains a SMTP transaction between a client and server. Your ..

  Comment on the relationship between your two scatter plots

Using the same variables as the previous exercise, provide a two-dimensional scatter plot, with an overlay of binned silhouette values, as shown in this chapter. Comment on the relationship between your two scatter plots.

  Identify the major deliverables and tasks for the project

Determine the duration of each detailed level task to build a complete project plan which will include the overall timeline and duration of the project.

  Can swot be valuable on a departmental basis

Can SWOT be valuable on a departmental basis? Can the IT department get something out of their own SWOT analysis?

  The timely talent temporary help agency

The Timely Talent Temporary Help Agency maintains an employee master  file that contains an employee ID number, last name, first name, address,  and hourly rate for each temporary worker. The file has been sorted in  mployee ID number order. Each wee..

  Available for mobile and portable internet access

List two of the options that are available for mobile and portable Internet access, and explain their strengths and weaknesses.

  What are the typical challenges on software projects

What are the typical challenges on software projects related to managing the customer? What are the typical challenges on software projects related to managing suppliers?

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