Questions: 1 835

Answers by our Experts: 1 539

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

Create a windows application that contains two textboxes and three buttons. The textboxes should be used to allow the user to input two positive numeric values. The buttons should be labeled Add, Multiply and Reset. Create event handler methods that retrieve the values, perform the calculations and display the result of the calculations on a label. The result label should initially be set to invisible with a font color of yellow. If invalid data is entered, change the font color to red on the result label and display the message saying “value must be numeri and >0”. When the final answer is displayed, the font color should be yellow. Additional labels will be needed from the textboxes captions. Do not allow non numeric characters to be entered. Invoke the TryParse() method to retrieve the values. All controls involved in program statements should be named. Right justify values in the textbox.


Write a program that allows the user to enter any number of names; i.e – last name and first name. Using one of the predefined methods of the Array class, order the names in ascending order. Display the results.


Write an application that provides statistics about temperature for given week. Your solution should be a two class application that has one-dimensional array as a data member. The array stores temperatures for any given week. Provide constructors for instantiating the class and methods to return the highest temperature, lowest temperature, average temperature as well as the average temperature excluding the lowest temperature. Provide a method that accepts as an argument a temperature and returns the number of days the temperatures were below that value. Override the ToString() method to return a listing of all temperatures in three column format and the temperature range for the given week. Write a second class to test your class.

 



Write a program that generates 1000 random numbers between 0 and 100 000. Display the number of odd values generated as well as the smallest and the largest values. Output should be displayed in a windows message box.



Write a program to allow multiple sets of scores to be averaged. Valid entries must be numeric and in the range of 0 to 100. Calculate the average of the scores entered. Allow any number of scores to be entered per data set but assume that there will be at least one score entered. Use a sentinel-controlled loop variable to terminate the loop. After values are entered and average is calculated, test the average to determine whether an A, B, C, D or F should be recorded. The scoring rubric is as follows: A: 90 to 100; B80 to 89; C 70 to 79; D 60 to 69 and F <60.



Write an application that computes the area of a circle, rectangle, and cylinder. Display a menu showing the three options. Allow users to input which figure they want to see calculated. Based on the value inputted, prompt for appropriate dimensions and perform the calculations and perform the calculations using the following formulas:

Area of a circle = pi*radius2

Area of a rectangle = length*width

Area of a cylinder = pi*radius2*height

Write a modularized solution, which includes class methods for inputting data and performing calculations.



Write a program that calculates the take home pay of an employee. The two employees are salaried and hourly. Allow the user to input employee type. If an employee is salaried, allow the user to input the salary amount. If an employee is hourly, allow the user to input the hourly rate and the number of hours clocked for the week. For hourly employees, overtime is paid for hours over 40 at a rate of 1.5 of the base rate. For all employees’ take-home pay federal tax of 18% is deducted. A retirement contribution of 10% and a social security tax rate of 6% should be deducted. Use appropriate constants. Design an object oriented solution. 



Design a solution that prints the amount of profit an organisation receives based on its sales. The more sales documented, the larger the profit ratio. Allow the user to input the total sales figure for the organisation. Compute the profit based on the following table. Display the sales and profit formatted with commas, decimals, and a rand symbol. Display the profit ratio formatted with a percent symbol. 0 – R1000: 3.0% / R1000.01 – R5000: 3.5% / R5000.01 – R10000: 4.0% / over R10000: 4.5%


An Islamic bank wants you to develop a Zakat Calculator for them. The calculator shall take the input of the:

1) name of zakat donor,

2) Bank_Balance

3) zakat_amount.

Create constructor to initialize variables with default values which will be called on the time of object instantiation.

There should be a method named “Cal_zakat()” which calculates the zakat of each donor and set in zakat_amount. The program adds up the zakat of each donor hence calculating the total_zakat of the bank. Use a “display()” which displays not only the data of the donor but also the total amount of zakat of the bank. It should keep in mind that the zakat will be calculated only if Bank_Balance is greater than or equal to 20,000


Create an application for a Pizza delivery company. The application must provide a place for the user to enter their contact information (address, cell, telephone, e-mail) and some of the contact information should be displayed when the order is placed. Your application should have a picture logo and company name. Provide selections such as small, medium and large for pizza (Vegetarian, Hawaiian, Something Meaty….etc). BE CREATIVE You can also sell wings, mini-loaves, chicken strips or any other restaurant food of your choice. Also include beverages. You must display the price for the order and reset the order form. Experiment, explore, change properties and the review the .Designer.cs.file

 

 



LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS