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

  Write a prolog program that finds the last item in a list

Write a Prolog program that finds the last item in a list. Include a test query.

  Allow customers the option of five t-shirt sizes

Allow customers the option of five T-shirt sizes and styles: XXL Short Sleeve, XL Short Sleeve, L Short Sleeve, M Short Sleeve, S Short Sleeve. Assume that each product has a unique price that is displayed when the user cliks a Buy Now button.

  Write a program to enter series of numbers

Write a program that ask the user to enter a series of numbers ending with -1. After the -1 is input, program should print how many numbers are even and how many numbers are odd.

  How would i write a shell script to locate executable files

How would I write a shell script to locate executable files? This script takes a list of file names from the command line and determines which would be executed had these names been given as commands.

  Write a program to find all real roots

Write a program to find all real roots of a given polynomial f. Starting with 0.0, use step size of 0.25 to find a and b such that sign(f(a)) sign(f(b)).

  Explain about lexical analyzer

Explain about Lexical Analyzer

  Program to create three identical list

Write a program to create three identical list, list1, list2, and list3, of 5000 elements. The program then sorts list1using quick sort, list 2 using insertion sort.

  Deisgn driver to test implementation elements to tree

Deisgn a driver to test your implementation. Add various elements to the tree, and then display elements in sorted order. Also, display minimum and maximum element.

  Select a game that can be mapped by an automata

Select a game that can be mapped by an automata. This means the game will have a finite set of states (for whichcertain conditions are true) and an exit condition.

  What is the height of the retinal image

Create a binary image at least 64x64 in dimensions. Using Octave's existing functions, perform Average, Gaussian and Laplacian filters on the image. Display the original image and each of the filtered images in Octave plots. Discuss and compare your..

  How did you create a module or method in quicklab

How did you create a ‘module' or ‘method' in QuickLab? Provide your screenshot! How did you document your program (Provide your example--codes or screenshot?

  Online car rental dynamically change its layout and styles

This assignment requires you to rewrite your HW2 (Online Car Rental) based on RWD techniques to make your website can dynamically change its layout and styles according to device screen sizes.

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