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

Assume that z has been initialized to 50. The values from 0 to 50 should be totaled.

 While (z>=0)

 sum = sum + z


Identify and correct the error(s) in the following (you may simply need to add code):

Assume that y and total are declared as Integers

total = 0

Do Until y = -1

Print y

y = InputBox(“Enter a value, value input”)

total = total + y

Loop


Identify and correct the error(s) in the following (you may simply need to add code):

Assume that y and total are declared as Integers

total = 0

Do Until y = -1

Print y

y = InputBox(“Enter a value, value input”)

total = total + y

Loop



Write a statement or a set of statements to accomplish each of the following:

>Sum the odd integers between 1 and 99 using a For/Next structure. Assume that variables sum and count have been declared explicitly as Integer.

>Print the number from 20 to 1 on the form using a Do Until loop and Integer counter variable x. Assume that the variable x is initialized to 20.

>Print the Integers from 1 to 20 using a Do/Loop While structure and the counter variable x. Assume that x has been declared as an integer but not initialized.



Professor Juarez wants to calculate the factorial numbers in his mathematic class. As an IT student, you are the best candidate to help him solve his problem. With the aid of your Visual basic expertise, write a program that will print the factorial of a number by defining a method named 'Factorial'. You should name your program Factorial. Factorial of any number n is represented by n! and is equal to 1*2*3*....*(n-1)*n. E.g.- 4! = 1*2*3*4 = 24 3! = 3*2*1 = 6 2!=2*1=2 Also, 1! = 1, 0! = 0


One large chemical company pays its salespeople on a commision basis. The salespeople receive RM700 per week plus 9% of their gross sales for that week. For example, a salesperson who sells RM10 000 worth of chemicals in a week receives RM700 plus 9% of RM10000, or a total of RM1 600. Develop a program that will input each salesperson’s gross sales for last week and will calculate and display the salesperson’s earnings. Process one salesperson’s figures at a time.


Hi I need assistance with a looping structure to display in a listbox 8 digit student number must be generated, first 4 digits is the present year "2021" 5th digit represents gender 2 for male and 3 for female, the last digits increments according to the number of students who have registered


Write and run a visual payroll program for 10 employee of a company.The gross pay sums the basic pay, housing allowance and professional allowance (where applicable).Workers grade levels range from 1to 16. Housing allowance of workers is 30% of basic pay for workers on levels 8 to 16 and 40% for levels 1-7 workers.Transport allowance is 20% of basic pay for all workers. Hazard allowance is 15% of basic pay for only levels 8-16 workers. The net pay, which is the take home pay is the gross pay tax (10% of gross pay). Designs form through which each workers data can be entered. In a flowchart form


Write and run a visual payroll program for 10 employee of a company.The gross pay sums the basic pay, housing allowance and professional allowance (where applicable).Workers grade levels range from 1to 16. Housing allowance of workers is 30% of basic pay for workers on levels 8 to 16 and 40% for levels 1-7 workers.Transport allowance is 20% of basic pay for all workers. Hazard allowance is 15% of basic pay for only levels 8-16 workers. The net pay, which is the take home pay is the gross pay tax (10% of gross pay). Designs form through which each workers data can be entered


Write a simple visual basic program to find the average of five numbers


LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS