Question

In: Computer Science

how can i convert this to work in visual basic ? what are the formulas for...

how can i convert this to work in visual basic ? what are the formulas for that?

You must create a Windows Forms application as the Conversion project including a picture of money on your form.  Create a textbox for the user to entry a dollar amount. Determine the number of quarters, dimes, nickels, and pennies using label controls to display the results.  In your calculation, you should use constant variables.


ex)

Enter dollar amount for conversion of 4.69

Number of quarters = 18
Number of dimes = 1
Number of nickels = 1
Number of pennies = 4

Solutions

Expert Solution

Note: Dropbox link has been attached as in the question the requirement is of the complete Windows forms project and not just the code.

Please find the dropbox link for the windows forms application as below:

https://www.dropbox.com/s/gyd8br2o1gdtns9/Conversion.zip?dl=0

Output

Below is the code that executes on click of the Submit button:


Related Solutions

how can i get the code for this problem in visual basic? Create a Windows Forms...
how can i get the code for this problem in visual basic? Create a Windows Forms applications called ISP (Internet Service Provider) Project. You must enter the number of hours for the month and select your desire ISP package. An ISP has three different subscription packages for it's customers: Package A: For $9.95 per month 10 hours of access are provided. Additional hours are $2 per hours. Package B: For $13.95 per month 20 hours of access are provided. Additional...
Create code In visual Basic, Windows forms that uses case statements to convert the day of...
Create code In visual Basic, Windows forms that uses case statements to convert the day of the week (entered by the user into an integer. (Sunday = 1, Monday = 2, etc.) For this code, think about error checking. What will your code do if the user enters “dog” for example (which is not a day of the week)? What will your code do if the user enters a number or other incorrect input?
1. What is the difference between Write and WriteLine in Visual Basic? 2. Can there be...
1. What is the difference between Write and WriteLine in Visual Basic? 2. Can there be more than one variable in a Write or WriteLine? Do they have to be all variables of the same type? Show it by modifying your program. Submit the modified and duly documented program in Visual Basic. 3. Explain the possible assignments of values to numerical variables of different primitive types: integer assigned to integer, integer assigned to real, real assigned to integer and real...
I am trying to write code for a program in Visual Studo using Visual Basic programming...
I am trying to write code for a program in Visual Studo using Visual Basic programming language that computes the factorial of an entered number by using a For Loop. My problem is that it keeps re-setting the variable for Factorial. Below is my code if anyone can help. I want it to multiply the given number by that number - 1, then continuing to do so until it hits zero without multiplying by zero. Private Sub BtnCalculate_Click(sender As Object,...
Language: C++ NEEDS TO WORK IN VISUAL BASIC The code is broken and loops in a...
Language: C++ NEEDS TO WORK IN VISUAL BASIC The code is broken and loops in a few places please fix it #include<iostream> using namespace std; //function declaration void EnterRents(int*, int); void displayRents(int*, int); void selectionSort(int*, int); int sumRents(int* temp, int size) {    int sum = 0;    for (int i = 0; i < size; i++)    {        sum += *(temp + i);    }    return sum; } void Displaymemory(int* temp, int size) {    /*int...
Visual Basic Your first job is to create a visual basic project that will display the...
Visual Basic Your first job is to create a visual basic project that will display the name and telephone number for the contact person for the customer relations, marketing, order processing, and shipping departments. Include a button for each department. When the user clicks on the button for a department the program(in code for specific button will display the name and telephone number for the contact person in two labels. The same two labels will be used for each department...
How can I distinguish well developed visual cortex and not developed visual cortex? Do we see...
How can I distinguish well developed visual cortex and not developed visual cortex? Do we see more dendrites or zinc-containing boutons in well developed visual cortex?
the purpose of the code is to implement a stack how can i convert this code...
the purpose of the code is to implement a stack how can i convert this code in a way that these changes apply to it? // simplify the logic of the main // getline(cin, line) needs to be changed to a normal cin >> line; //make a function for 'list' // not allowed temporary stack (stack s2) //merge the catches (errors) // introduce another function for main // avoid repetitive code here is the code: #include #include #include #include #include...
using visual basic how would i go about coding: if checkbox 1 is checked add 10...
using visual basic how would i go about coding: if checkbox 1 is checked add 10 to subtotal if checkbox 2 is checked add 50 to subtotal if checkbox 3 is checked add 100 to subtotal subtotal label is 'lblSubtotal' all 3 boxes are independent. example if checkboxes 1 and 3 are checked 110 would be added to subtotal.
How can I convert inRange in cv2 to PIL? For example, I already have mask =...
How can I convert inRange in cv2 to PIL? For example, I already have mask = cv2.inRange(img, array1, array2) but I'm trying to keep everything in PIL. Any ideas would be appreciated!
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT