Questions: 619

Answers by our Experts: 487

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

Programming Problem 2: Billing Report

(Note: Programming Problem 2 is a modified version of Chapter 4, Programming Project 5, pages 176–177.)


Nutritional Associates of New Jersey is in need of a brief billing report for patients. Write a program to generate a patient bill from the patient billing items found in Table 2 below. Use the form in Figure 4.70 of the Visual Basic text as a model, and write the program so that each group box is invisible and becomes visible only when its corresponding check box is checked. After the button is clicked, the amount of the bill should be calculated. 


Note: The Checked property of the first radio button in each group should be set to True in its Properties window. This guarantees that a selection is made in each visible group box. Of course when the bill is calculated, only the visible group boxes should be considered. (See Figure 4.71 in the Visual Basic text.)


I have image examples but I'm not sure how to attach them. Can anyone help?




Write a circle class with a private data member that is the radius (r) of the circle, and a parameterized




constructor that sets the value of the radius (r). In addition, the class includes common methods, such as




calculating the circumference of a circle, calculating the area of a circle, and getting the radius of a circle.




Enter the radius of the circle in the console to calculate and show the circumference and area of the circle.

Programming Problem 4: Caffeine Absorption

(Note: Programming Problem 4 draws directly on Chapter 6, Programming Project 1, page 285.)


Nutritional Associates of New Jersey stresses to their patients the effects of caffeine on the body. After caffeine is absorbed into the body, 13% is eliminated from the body each hour. Assume a person drinks an 8-ounce cup of brewed coffee containing 130 mg of caffeine, and the caffeine is absorbed immediately into the body. See Figure 6.77 in the Visual Basic text, and write a program to compute the following values: 


  1. The number of hours required until 65 mg (one-half the original amount) remain in the body 
  2. The amount of caffeine in the body 24 hours after the person drinks the coffee


Suppose the person drinks a cup of coffee at 7:00 a.m. and then drinks a cup of coffee at the end of each hour until 7:00 a.m. the next day. How much caffeine will be in the body at the end of the 24 hours?





Develop a system that allows 20 characters and produce number of vowels

Exercise

 

25. Create an application that calculates a customer's water bill for the Canton Water Department. The user will enter the current meter reading and the previous meter reading. The application should calculate and display the number of gallons of water used and the total charge for the water. The charge for water is $1.75 per 1000 gallons, or 0.00175 per gallon. However, there is a minimum charge of $19.50. In other words, every customer must pay at least $19.50. Display the total charge with a dollar sign and two decimal places. Use the following names for the solution and project, respectively: Canton Solution and Canton Project. Save the solution in the VbReloaded2015\Chap04 folder. Change the form file's name to Main Form.vb. Create the interface and then code the application. Save the solution and then start and test the application. Close the solution. (1-4)

Will try to send the pictures that go with this. This is the 2nd part of my question.


Lab6: Canton Water Department

Lab6 requires you to create the following: 

  • Exercise 25 - Canton Water Department (p. 225)
  • An example form is provided below
  • Make sure to include Pseudocode or Flowchart for all code Events
  • Include this file in submitted lab folder

Your lab needs to include the following: 

  • Use proper variable types, names, and naming conventions
  • Use proper control (buttons, labels, etc.) names and naming conventions
  • Use the three option statements found in figure 3-23 (p. 136)
  • Do not leave any blank blocks of code or events
  • Use proper access keys and appropriate tab order
  • Include a default button when appropriate
  • Lock form controls
  • Include documentation comments on the main form code, as well as code comments for each major line of code
  • Add the solution folders to a created folder with the following naming convention: CourseNumber_LastNameFirstInitial_LabXX
  • Folders should be compressed

 

I will send the rest in another question 




The following code is supposed to take input from the user and print out each entry and add them together with a final print out of the total of all input numbers. The code does exactly that, but I don't get how it prints each input without the writeline being inside the loop. If I move the writeline into the loop, it double prints the input. Any help understanding this would be greatly appreciated. Thanks


Sub Main()

    Dim sum As Integer

    Dim inValue As Integer

    Console.WriteLine("Enter a number: ")


    Do

      inValue = Console.ReadLine()

      If inValue <> -1 Then

        sum += inValue

      End If

    Loop Until inValue = -1


    Console.WriteLine(sum)


    Console.WriteLine("press enter to exit")

    Console.ReadLine()

  End Sub


Convert the mathematical expression to visual basic formula


W= Pr²÷√q²+s²

Ajayi bello applied for a bed space in the unity hall of residence but was not allocated for one, he later got an accomodation in apete through an agent he was asked to pay the following


(1) Rent of #36,000 per annum


(2) 5% caution fee


(3) 10% maintenance fee


(4) 5% legal fee


(5) 10% agency fee



Write a visual basic code to display the total amount that will pay for that year



How can you declare a variable in vb.net

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS