Design program that uses cfswitch and cfcase structure

Assignment Help Programming Languages
Reference no: EM131145239

Design a program that uses a CFSwitch and CFCase structure.

Your program must use the ColdFusion built-in function RandRange() to generate a random number between the ranges of 1 and 4, and assign this value to a variable called score. ##Your program must now display a separate message depending on the value of this score as generated by the RandRange function. If the value is 4, display the message "Your grade is an A" If the value is 3, display the message "Your grade is B" If the value is 2, display the message "Your grade is C" If the value is 1, display the message "Your grade is D" Hint: The RandRange() function returns an integer between two specified numbers.

The syntax to use the RandRange function is RandRange(num1, num2). Example - RandRange (1,4) will give random values between 1 and 4

Reference no: EM131145239

Questions Cloud

Formulate a lp model for given problem : Formulate an LP model for this problem to maximize the number of new customers reached by advertising.- Implement your model in AMPL and in a spreadsheet and solve it.
What is the equilibrium quantity of sweet kiwifruit : Equilibrium in the Kiwifruit Market. Consumers are willing to pay 10 cents for a sour kiwifruit and 30 cents for a sweet kiwifruit. The minimum supply price for sour kiwifruit is 6 cents and the minimum supply price for sweet kiwifruit is 18 cents..
Recycling program for paper waste : A university currently has a recycling program for paper waste. The fixed cost of running this program is $10,000 per year. The variable cost for picking up and disposing of each ton of recyclable is $40. If the work is outsourced to a recycling comp..
What is the equation for the demand curve for orange juice : Using this information, what is the equation for the demand curve for orange juice? What is the equation for the supply curve for orange juice? Using your answers from parts (a) and (b), what is the equilibrium price and quantity of orange juice?
Design program that uses cfswitch and cfcase structure : Your program must use the ColdFusion built-in function RandRange() to generate a random number between the ranges of 1 and 4, and assign this value to a variable called score.
How much is the typical buyer willing to pay for a used car : Suppose that for every 10 new cars sold by new-car dealers, 9 are plums and only 1 is a lemon. Why is the equilibrium mix in the used car market different from the mix of new cars sold?
What is probability of defective output after process shift : Design specifications require that a key dimension on a product measure 100 ± 16 units. A process being considered for producing this product has a standard deviation of six units. What can you say (quantitatively) regarding the process capability? W..
Find the amplitude period and phase shift of ladder : (a) Find the amplitude, period, and phase shift of y = 3sin[π(x – 1/3)] (b) A ladder leans against a verfical wall of a building so that the angle between the ground and the ladder is 72° and its bottom on the ground is at 3m from the wall. How long ..
The following selected account balances relate to the plant : The following selected account balances relate to the plant asset accounts of Karas Inc. at year-end.

Reviews

Write a Review

Programming Languages Questions & Answers

  What are the important aspects writing pseudocode

What are the characteristics of flowcharts and how they express logic and what are the important aspects writing pseudocode?

  Write html page to enter city current temperature

Write HTML page that asks user to enter city current temperature and changes background color depending on that temperature.

  Create an instance of the person class

Create an instance of the Person class

  Provide a complete program that performs substitution cipher

Provide a complete program that performs a simple substitution cipher. The program should take plain text and a shift value and produce the encrypted text. Then it should take encrypted text and a shift value and produce the plain text once again.

  Calculate and print the annual salary of the employee

Calculate and print the annual salary of the employee. suppose employee receive 6% increase in pay. Calculate and print net pay giving the pay rate and hours work. Suppose deductions amount to 9% of the gross pay.

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Benefits of programming with objects and classes

How is it different from programming with functions alone? Write down benefits of programming with objects and classes in Web applications?

  The program should print out a total amount for the customer

Mike has a cellphone accessories shop that sells cases, memory cards, and headphones. He has a limited number of items that are available. He hired sales representatives to help him take the orders for these items. He finds that the sales represen..

  C# application that creates an animal using basic graphics

Write a C# application that creates an animal, plant or building of your design, using basic graphics methods such as DrawRectangle(), DrawLine(), DrawEllipse(), DrawArc() and DrawPie().

  Writing a class

Build a class for a type called Fraction

  Write a class named car that has the member variables

Write a class named Car that has the following member variables: YearModel. An int that holds the car's year model

  Calculate and display the total number of people registered

When the sales manager has finished entering the data, the program should calculate and display the total number of people registered, the total charge for those registrants, and the average charge per registrant. For example, if one company regis..

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