Select Case intLevel Case 1, 2 strStatus = "Bronze" Case 3 To 5 strStatus = "silver" Case 6, 7 strStatus = "Gold" Case Else strStatus "Platinum" End Select
Q: SOL Assignment Salesforce: In this assignment you have to find the all the account or contact where…
A: First let's understand what is SOSL: SOSL stands for Salesforce Search Language. It is used to…
Q: PopulationCreate an application that predicts the approximate size of a population of organisms. The…
A: Prompt the user for Starting number of organisms. Prompt the user for Average daily increase. Prompt…
Q: The Purchase class contains a ReadOnly property named Tax. The property is associated with the…
A: Explanation: From the given details, the Tax property is a ReadOnly property. Tax is associated…
Q: The Financial officer at RGIl wants you to develop an application company's asset's annual…
A: <Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _Partial Class frmMain…
Q: The private field, which is known as the property’s __________, holds any data that is assigned to…
A: Backing field: Backing field of a property is a private field. It is used to store the data which…
Q: handler: This method retrieves whatever the user has typed into the upper entry, converts it into an…
A: import tkinter as tkfrom tkinter import messageboxdef getAge(years): if years <= 0:…
Q: e below form will represent the main form from which the user will navigate to the other forms.…
A: using System; using System.Collections.Generic; using System.Data; using System.Configuration;…
Q: The Item class contains a Public method named GetDiscount. The method is a function. An application…
A: In Visual Basic, classes and objects are used to represent things in an environment. The syntax for…
Q: Write a TryParse method that converts the value entered in the txtPropertyValue control to the…
A: TryParse method: The method TryParse() is used to convert text to the numeric data type. If the text…
Q: The sales manager wants an application that allows him to enter the current bonus rate. The program…
A: Program Explanation: Declare the header files Define the main function Declare variables to store…
Q: The Financial icer at RGl wants you to develop an application thất will evaluate the company's…
A: RGI Annual asset depreciation App : It uses virtual basic GUI Functions It Contains Button…
Q: A bag of cookies holds 40 cookies. The calorie information on the bag claims that there are 10…
A: Program Plan: Include necessary header files. In main method declare the constants and assign the…
Q: In the btnCalc_Click procedure, change the For…Next statement that controls the years to a Do…Loop…
A: Answer: Visual Studio Source Code: Method 1: Form1.vb: Option Explicit OnOption Strict OnOption…
Q: Engine engineld: int (id] /unique ID engineName: String engineModel: String assignid): int /for…
A: Description. 1- In this assignment, need to take two class. The first class is Engine and the second…
Q: The Financial officer at RGI wants you to develop an application that will evaluate the company’s…
A: Public Class RGI Private Sub Display_Click(sender As Object, e As EventArgs) Handles…
Q: Objects in text fixtures must be initialized in O @Before @After O Olnittalize @Declare method.
A: I have given an answer in step 2.
Q: Create a Team class that includes the following data fields: • name (String) nbOfPlayers (int)…
A: ANSWER:
Q: C# Question Create a desktop application that allows the user to enter a maximum integer. The…
A: Steps to create a C# Windows Form Application Open visual Studion C# Windows Application Create a…
Q: Using the Random object randGen, write a statement that assigns arandom integer from 2 to 25…
A: intNum = randGen.nextInt(23) + 2;
Q: e method which take a string parameter. Method must be named hasRepeat and string parameter. Don't…
A: note here we are treating the capital letters and small letters are same i.e A and a are considered…
Q: Is there an error in the below code? Private _dblBonus As Double Public ReadOnly Property Bonus As…
A: Question. Is there an error in the below code? Private _dblBonus As Double Public ReadOnly…
Q: In the game Flick Fleet, players undertake space combat by flicking a six sided die at other ships.…
A: class SpaceShip: def __init__(self,type): self.type=type #get type of ship def…
Q: Retail Price Calculator Create an application that lets the user enter an item’s wholesale cost and…
A: In the function CalculateRetail() – Pass 2 arguments – wholesale price and the markup percentage.…
Q: The application displays a shipping charge that is based on the total price entered by the user, as…
A: It is a console based program.The above problem can be solved by using if else statements and also…
Q: There are three seating categories at a high school athletic stadium. For a baseball game, Class A…
A: Module Seating_Plan Sub Main() Dim classA_tick As Integer Dim classB_tick As Integer Dim classC_tick…
Q: ered when the text box's contents cha
A: Required: It is triggered when the text box's contents change.
Q: Chu Legistice Manage Aee Manage Cutomen Manage Fe Manage Dve Mannge
A: In the given question we need to create a viod method for each button and name them as follow :…
Q: HappyTunes is an application for downloading music files. Each time a file is purchased, a…
A: The ask is to build an application doing the following: - Create a transaction record for each file…
Q: When the value of an item is dependent on other data and that item is not updated when the other…
A: Answer is given below,
Q: Button Toggle How can we make a button that toggles a text view (not the button label)…
A: Here we write simple code for toggle button:…
Q: 12.12 (Temperature Conversion) Write a temperature-conversion application that converts from…
A: Note: The answer of the first question is given in the solution. Please repost the second question…
Q: Astronomy Helper Create an application that displays the following data about the planets of the…
A: ANSWER: EXPLANATION: Public Class Form1 Private Sub Button1_Click(sender As Object, e As EventArgs)…
Q: struct gameType { string title; int numPlayers; bool online; }; gameType…
A: 1) In C++ code snipped, we have a structure gameType which contains string type title intger type…
Q: getName returns the road name (string). getDistance retuns road distance (amy hype).
A: Java is an object-oriented programming language, it is used to develop browser applications and…
Q: Challenge Problem: What will be stored in number at the end of the code?
A: Here, number, number2 and number3 are variables and let's see how they changes after executing step…
Q: There are three seating categories at a high school athletic stadium. For a baseball game, Class A…
A: Since no programming language is mentioned, I am using python. Code: total=0try:…
Q: Course information are created using a class 'Course, the class contains: • Course code • Course…
A: Since you have not mentioned the language so i am giving answer in c++
Q: True or False Forms and most controls have a Preferences property that allows you to change the…
A: Explanation: BackColor and ForeColor are two different properties of the controls. BackColor is…
Q: Trainers at Tom's Athletic Club are encouraged to enroll new members. Write an application that…
A: As Language is not provided , doing it in Java Programming Language.
Q: The __________ contains a numeric value, which indicates the control’s position in the tab order. a.…
A: TabIndex property includes a numeric value which indicates the position of control in tab order.…
Q: Write a statement that declares a procedure-level Employee variable named hourly. The statement…
A: The statement that declares a procedure-level Employee variable named hourly also instantiate an…
Q: When programming an application avoid the use of known vulnerable functions (e.g., printf, strcat,…
A: Vulnerable functions are those functions that are unreliable in one way or another. When programming…
Q: When the Properties window's Categorized button is chosen, what does it do
A: It displays the attributes of the items that have been chosen from the various windows.
Q: Write an assignment statement that increments the intTotal variable by the contents of the…
A: The assignment statement that increments the intTotal variable by the contents of the intQuantity…
Q: Select Case charFlightCode Case 'F', 'A' lblFare.Text = 'First Class' Case 'B', 'Q' lblFare. Text =…
A: The errors are the following: 1. The else case should be written as Case Else instead of just Else…
Q: Write an application that handles a student report card. The application shall save the marks of…
A: Given: We have to write an program that handles a student report card. You have not mentioned…
Q: There should be an explanation of the GetConsole Title function.
A: Function is used to take input, process it and give output. It is basically a self contained code…
Q: Create two custom initializers. One initializer will take a Double argument that represents height…
A: Create two custom initializers. One initializer will take a Double argument that represents height…
Q: Please use C++ Create an application named SalesTransactiobDemo that declares several…
A: Program in C++: #include <iostream>#include<conio.h>#include<string.h>using…
What will the code in Figure 4-55 assign to the strStatus variable when the intLevel
variable contains the number 7?
a. Bronze
b. Gold
c. Platinum
d. Silver
To know the assigned value to the variable named strStatus when the variable named intLevel is initialized with the number 7.
The given code is:
Select Case intLevel
Case 1, 2
strStatus = "Bronze"
Case 3 To 5
strStatus = "Silver"
Case 6, 7
strStatus = "Gold"
Case Else
strStatus = "Platinum"
End Select
In the above code,
The Select Case statement contains a variable named intLevel.
The first Case is executed for the value 1 and 2 of the variable named intLevel.
This Case assigns the code "Bronze" to the variable named strStatus.
The second Case is executed for the value 3 to 5 of the variable named intLevel.
This Case assigns the code "Silver" to the variable named strStatus.
The third Case is executed for the value 6 and 7 of the variable named intLevel.
This Case assigns the code "Gold" to the variable named strStatus.
The fourth Case is executed for the other values of the variable named intLevel.
This Case assigns the code "Platinum" to the variable named strStatus.
Step by step
Solved in 4 steps
- "song1": { "genre": "g1", "album": "a1", "rating": "r1", "other": "some data1" The songs.json }, "song2": { "genre": "g2", "album":"a2", "rating": "r2", "other": "some data2" }, "song3": { "genre": "g3", "album": "a3", "rating": "r3", "other": "some data3" }, "song4": { "genre": "g4", "album":"a4", "rating": "r4", "other": "some data4" } }Pendant Publishing edits multi-volume manuscripts for many authors. For each volume, they want a label that contains the author’s name, the title of the work, and a volume number in the form Volume 9 of 9. For example, a set of three volumes requires three labels: Volume 1 of 3, Volume 2 of 3, and Volume 3 of 3. Design an application that reads records that contain an author’s name, the title of the work, and the number of volumes. The application must read the records until eof is encountered and produce enough labels for each work. The flowchart must include a call symbol, at the beginning, to redirect the input to the external data file. create a solution algorithm using pseudocode create a flowchart using RAPTORPendant Publishing edits multi-volume manuscripts for many authors. For each volume, they want a label that contains the author’s name, the title of the work, and a volume number in the form Volume 9 of 9. For example, a set of three volumes requires three labels: Volume 1 of 3, Volume 2 of 3, and Volume 3 of 3. Design an application that reads records that contain an author’s name, the title of the work, and the number of volumes. The application must read the records until eof is encountered and produce enough labels for each work. Design a flowchart and psuedocode Pendant Publishing.
- A Costume shop requests a Computer application that advertizes Costume rentals. This week's Costume rental specials are as follows : Table Costume Price per week Renaissance Fair $40 Stormtrooper $49 Batman / Batgirl $36 Pirate $29 Write an application that allows the user to select any of the five costume rental specials. When the user selects a costume, the corresponding cost and a picture of the costume should be displayed. Clear each prior price and picture when the user selects a different costume. After selecting a costume, the user should be able to book the costume rental and then CLOSE the window.When we use the Group-Object cmdlet, it will create this new property, which displays the number of objects in each grouping: Group of answer choices Number Count Entry NameA Costume shop requests a Computer application that advertizes Costume rentals. This week's Costume rental specials are as follows : Table Costume Price per week Renaissance Fair $40 Stormtrooper $49 Batman / Batgirl $36 Pirate $29 Write an application that allows the user to select any of the five costume rental specials. When the user selects a costume, the corresponding cost and a picture of the costume should be displayed. Clear each prior price and picture when the user selects a different costume. After selecting a costume, the user should be able to book the costume rental and then CLOSE the window. in visiual basic form
- A Costume shop requests a Computer application that advertizes Costume rentals. This week's Costume rental specials are as follows : Table Costume Price per week Renaissance Fair $40 Stormtrooper $49 Batman / Batgirl $36 Pirate $29 Write an application that allows the user to select any of the five costume rental specials. When the user selects a costume, the corresponding cost and a picture of the costume should be displayed. Clear each prior price and picture when the user selects a different costume. After selecting a costume, the user should be able to book the costume rental. Complete on Visual BasicsA Costume shop requests a Computer application that advertizes Costume rentals. This week's Costume rental specials are as follows : Table Costume Price per week Renaissance Fair $40 Stormtrooper $49 Batman / Batgirl $36 Pirate $29 Write an application that allows the user to select any of the five costume rental specials. When the user selects a costume, the corresponding cost and a picture of the costume should be displayed. Clear each prior price and picture when the user selects a different costume. After selecting a costume, the user should be able to book the costume rental and then CLOSE the window. Show screenshot of workA Costume shop requests a Computer application that advertizes Costume rentals. This week's Costume rental specials are as follows : Table Costume Price per week Renaissance Fair $40 Stormtrooper $49 Batman / Batgirl $36 Pirate $29 Write an application that allows the user to select any of the five costume rental specials. When the user selects a costume, the corresponding cost and a picture of the costume should be displayed. Clear each prior price and picture when the user selects a different costume. After selecting a costume, the user should be able to book the costume rental. Complete on Visual Basics Attach Screenshot
- A Costume shop requests a Computer application that advertizes Costume rentals. This week's Costume rental specials are as follows : Table Costume Price per week Renaissance Fair $40 Stormtrooper $49 Batman / Batgirl $36 Pirate $29 Write an application that allows the user to select any of the five costume rental specials. When the user selects a costume, the corresponding cost and a picture of the costume should be displayed. Clear each prior price and picture when the user selects a different costume. After selecting a costume, the user should be able to book the costume rental and then CLOSE the window. Visual BAsics//Global Constant Global Constant TECH_FEE = 0.05 Module main () //Local Variable Declare Integer studentID, ClassTitles , hoursWorked, numofClass, techFee, totalBill classCost=$150 //Get Student ID Call getStudentID () //Get Class Titles Call getCLassTitles () End Module Module getStudentID () Display "Please enter your Student ID:" Input studentID End Module Module getClassTitles () //Get number of class student wants to add and calculate the total bill Display "One class will be free if you add three classes." Display "How many classes do you want to take? (Limit 3)" Input numofClass if numofClass > 3 then Display "Error: Maximum of 3 Class Allowed" end if while numofClass <= 3 if numofClass == 1 then Display "Please enter the Class Title" Input class1 Set classCost = 150 * numofClass Set techFee = classCost * TECH_FEE Set totalBill = classCost +…In this exercise, you modify the Grade Calculator application from this chapter’s Apply lesson. Use Windows to make a copy of the Grade Solution folder. Rename the copy Grade Solution-Intermediate. Open the Grade Solution.sln file contained in the Grade Solution-Intermediate folder. Open the CourseGrade.vb file. The DetermineGrade method should accept an integer that represents the total number of points that can be earned in the course. (Currently, the total number of points is 200: 100 points per test.) For an A grade, the student must earn at least 90% of the total points. For a B, C, and D grade, the student must earn at least 80%, 70%, and 60%, respectively. If the student earns less than 60% of the total points, the grade is F. Make the appropriate modifications to the DetermineGrade method and then save the solution. Unlock the controls on the form. Add a label control and a text box to the form. Change the label control’s Text property to “&Maximum points:” (without the quotation marks). Change the text box’s name to txtMax. Lock the controls and then reset the tab order. Open the form’s Code Editor window. The txtMax control should accept only numbers and the Backspace key. Code the appropriate procedure. The grade should be cleared when the user makes a change to the contents of the txtMax control. Code the appropriate procedure. Modify the frmMain_Load procedure so that each list box displays numbers from 0 through 200. Locate the btnDisplay_Click procedure. If the txtMax control does not contain a value, display an appropriate message. The maximum number allowed in the txtMax control should be 400; if the control contains a number that is more than 400, display an appropriate message. The statement that calculates the grade should pass the maximum number of points to the studentGrade object’s DetermineGrade method. Make the necessary modifications to the procedure. Save the solution and then start and test the application.