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

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

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