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

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?
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?
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!
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 quantify visual cortex development of blind rats and normal rats? What variable do...
How can I quantify visual cortex development of blind rats and normal rats? What variable do I have to measure for that and by which stain method?
Can you assist with the following? What formulas should I use for these questions and what...
Can you assist with the following? What formulas should I use for these questions and what does it all mean? I want to be better at this, but I just can't seem to understand. A firm can get $1,000,000 in exchange of 25% of its equity. After investing the amount raised in the firm, the firm expects to generate $300,000 in FCF next year, which is expected to grow at 3% in perpetuity after that. Before closing the deal, Mr....
Can you please check my work? I used R but it's very basic. I searched for...
Can you please check my work? I used R but it's very basic. I searched for this question on Chegg to check my answer but my numbers are slightly different. What did I do wrong? Question: Calculate confidence intervals for population variance and standard deviation. Assume that samples are simple random samples and taken from a normal population. α=0.05, sample size=30,s=3.5 stdev =3.5 df = 29 n = 30 alpha = 0.05 qchisq(0.05,df,lower.tail = FALSE) onechi <- 42.55679 #[1] 42.55697...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT