Create block containing variable

Assignment Help Basic Computer Science
Reference no: EM133246012

Challenge 2-2 create a block containing a variable that can hold a y or an n to indicate whether a newsletter should be mailed, a variable that can hold a balance owed for a customer (initialize to $1,200), a variable that can hold a two-digit decimal value representing the minimum payment rate (initialize to .05), and a variable to hold the minimum payment amount to be calculated. make sure the value in the variable for the minimum payment rate can't be modified in the block. the newsletter variable should always contain a value, and the default value should be set to y. in the executable section of the block, calculate the minimum balance owed (balance times the minimum payment rate), set the newsletter variable to n, and display the value of each variable. after you have finished these tasks, add a statement at the top of the executable section to assign a value of .07 to the minimum payment rate. when you run the code, this statement produces an error. why?"

Reference no: EM133246012

Questions Cloud

What is your reservation wage : Suppose your utility function over consumption and leisure is given by U = CL2. What is your reservation wage?
Discuss the transmission mechanisms : Discuss the five transmission mechanisms of the key market (country) and how it affects the company's profitability.
Increase in price of liquid detergent : If consumers switch to buying more powdered detergent in response to an increase in the price of liquid detergent does this mean
Display the trackid and track name : Display the trackid, the track name, the composer, the genreid, and the genre name for each track.
Create block containing variable : Challenge 2-2 create a block containing a variable that can hold a y or an n to indicate whether a newsletter should be mailed
Data sets and associated dictionaries : Summarize one real-world business report that can be created from the attached Data Sets and Associated Dictionaries. Describe the data used for the report.
Good for hosting microbrewery tours : Find which cities would be good for hosting microbrewery tours. A city must have at least 10 breweries to be considered.
Describe briefly database application : Describe briefly a database application case of your choice and represent your data in terms of 3 linked (via foreign key/s) tables.
Find the names of actors who have worked in titanic movie : Find the names of actors who have worked in Titanic movie. Find the name of top 10 actors which have been casted maximum no. of times.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  What is the frame buffer address

If memory is organized in one-byte words, the starting frame buffer address is 0, and each pixel is assigned 6bits of storage, what is the frame buffer address (or addresses) or the pixel with screen coordinates (x,y)?

  What behavior or functionality

What data could each object of this class type need to store? What behavior or functionality could each object of this class perform?

  Compare three protocols

Compare and contrast these three protocols and explain which industries can benefit the most from each of these protocols.

  Write an hdl module called minority

Write an HDL module for a hexadecimal seven-segment display decoder. The decoder should handle the digits A, B, C, D, E, and F as well as 0-9.

  Rearranges an integer array

Need help with a C program array_rearrange.c that rearranges an integer array. The array will be split into two sets of integers one by one.

  What values should the computer provide as output

Draw a program flowchart for a program that will accept one number as input. Assume this number represents some amount of yards.

  Differences between virtualization and cloud computing

Discuss the differences between Virtualization and Cloud Computing.

  Computer discussion homework

While it is understood that the CIO should set the example for the IT organization, determine the top three things that the head of IT should be doing to improve the skills of the IT staff.

  Uniform resource locator

What is URL (uniform resource locator)? What are the examples of URLs?

  Describe importance of assessments in system

Describe the importance of assessments in system and application security.

  Generate a list of random numbers

Write a program in Python that generates 20 random numbers and stores them in a list. The program should store the numbers in an array.  Use the list using the built-in functionality of the print functions.  Your output should look like this:

  Explain peer-peer networking

Explain peer-peer networking? Advantages? Disadvantages(Limitations)?

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