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 user defined class for Exception for age, if age is negative throw an exception that age cannot be less than zero?


Write a program in C# to implement the operator overloading for the greater than (>) and assignment (=) operators


. Write a java program that specifies three parallel one dimensional arrays name length, width, and area. Each array should be capable of holding a number elements provided by user input. Using a for loop input values for length and width arrays. The entries in the area arrays should be the corresponding values in the length and width arrays (thus, area[i] = length [i]* width [i]) after data has been entered display the following output:

Length Width Area

-------- -------- -------

25 2.6 65.00

18.2 4.9 89.18

Sample Run1 Enter the array size: 5

Enter the Length and Width for Rectangle 1: 25 2.6

Enter the Length and Width for Rectangle 2: 18 4.9

Enter the Length and Width for Rectangle 3: 100 3.27

Enter the Length and Width for Rectangle 4: 1.84 7.4

Enter the Length and Width for Rectangle 5: 56 9.5 Output1:

Length Width Area

-------- -------- -------

25 2.6 65.00

18.2 4.9 89.18

100 3.27 327.00

1.84 7.4 13.62

56 9.5 532.00


2.   Create a java program that initialize a two dimensional array with the continuous assessment marks used to determine the semester mark for PRG510S exam qualification, The system should also create an array of student names in correspondence to the marks (Note: the appropriate weights of each individual assessment are given under corresponding headings and both the marks and student names are read from the user input).

   

test1

 

(Weight 20%)

test2

 

(Weight 20%)

labs

 

(Weight 20%)

in_class

exercise

(Weight 10%)

assignment

 

(Weight 30%)

John

50

60

79

89

63

Harry

41

52

68

56

40

Uushona

30

20

52

38

47

Sililo

23

33

45

19

27

                                                                                                          

Enter class size:

Given a number N, create a 2D arrays with n rows and n columns. Now inspect the matrix pattern below and come up with a formula to populate the array for any give NXN matrix.

Sample Run1 Enter a number (N): 5 Output1:

5 4 3 2 1

10 8 6 4 2

15 12 9 6 3

20 16 12 8 4

25 20 15 10 5

Sample Run2 Enter a number (N): 3 Output2:

3 2 1

6 4 2

9 6 3


USING VISUAL BASIC OR VISUAL STUDIO


Manny Management Consulting charges P1,500 for training fee 

and P120 per person for registration fee. Create an application 

to help the accountant make a billing statement showing the 

customer's name, address, number of participants, training fee, 

registration fee and total amount due.



Algorithm for 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.

 



 38. How do you check if a string contains a subsequence? - Link 

Example: Str-1 = “XAY”, Str-2= “XYAXAYZAX” string 1 is present in a substring of string 2 i.e XAY is present in XYAXAYZAX


  36. write a function to add any number of numbers for Eg. add(1,2)

add(1,2,3)

add(1,2,3,4,5)


Write a script to enter your first name and last name and then print your concatenated name Hint( first name mandeep) Last name- Verma
LATEST TUTORIALS
APPROVED BY CLIENTS