+1(316)4441378

+44-141-628-6690

Archive for the ‘visual studio’ Category

Problem

Model a C ++ class that manages a collection of complex numbers defined by the attributes: length of type int, a pointer of numeric type (int, float, double) for an array with the real part of the complex numbers and a similar one for the imaginary part.
The class will contain a constructor no parameter that will define length with a globally defined constant value = 10, allocating space for the two real / image arrays to this dimension, a constructor with an int parameter that defines length with this value and allocate the space related to the two arrays, and a copy constructor.
The class will contain set / get methods for length, a set type method for the two arrays type attributes of the current object that will have as parameters the addresses of two arrays in which the real / imaginary parts of the complex collection type number will be taken beforehand, and a method for displaying the real and imaginary part of a class object using the class attributes of the class.
The

Wage calculator

Visual Studio program that Calculate pay button so it calculates Rate based on Level then calculates total pay which is Rate * Hours. Using the variable values and concatenating text display a message in a message box like the following:
Hello Bill your total pay on 02/27/18 is $450 (10 Points)

Level 1 - $10
Level 2 - $12
Level 3 - $15
Level 4 - $18
Level 5 - $20

Try Catch Block - Use a try catch block so your program does not crash if the user gives you incorrect information. (10 Points)

Catching Errors Use TryParse with Loops (20 Points)

Verify that the Date field is a valid date
Verify that the Name field is not empty
Verify that Level is an integer between 1 and 5
Verify that Hours worked is an integer between 0 and 100

Input-Boxes Use input boxes to prompt the user if they entered wrong information to get the correct information.

visual studio

I already coded everything except for the if statements. I cant figure out how to convert the number grade to letter grade Please help

Here is the homework.

Program the Calculate Grade button so it displays the numeric average of the three tests in the Test Average label.

Use If statements Program the Calculate Grade button so it also displays the correct Letter Grade in the Letter Grade label.