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

Write a console application that initialize at least five variables or constants with different data types, the displat thier value.Provide a meaningful identifier of the variables or constants.Name the namespace as DataTypeApp and its class as DataTypeProgram

Machine Problem 5.8.

Write a program using two-­‐dimensional arrays that lists the Odd numbers and Even numbers separately in a given 12 input values.

Sample input/out dialogue:

Enter twelve numbers: 15 20 13 35 40 16 18 20 18 20 19

Odd numbers are: 15 13 35 19

Even numbers are: 40 16 18 20 18 20



Create a class Person with attributes string Name, string Address and int age and define getter setter method using Auto Implementation Property


• Create a class PersonImplementation and implement the below given methods:

1. GetName(IList<Person> person) display the name and address of all the persons in the List

2. Average(List<Player> players) to calculate the average age of all the persons.

3. Max(IList<Player> players) to find the maximum age of the person.


Using C# and Visual Studio, design and implement a standalone command-line application that fulfils the following requirements: 1. The user shall be able to enter the following values: a. Gross monthly income (before deductions). b. Estimated monthly tax deducted. c. Estimated monthly expenditures in each of the following categories: i. Groceries ii. Water and lights 21; 22; 23 2022 © The Independent Institute of Education (Pty) Ltd 2022 Page 5 of 17 iii. Travel costs (including petrol) iv. Cell phone and telephone v. Other expenses


iii. Travel costs (including petrol)





iv. Cell phone and telephone





v. Other expenses





2. The user shall be able to choose between renting accommodation or buying a property.





3. If the user selects to rent, the user shall be able to enter the monthly rental amount.





4. If the user selects to buy a property, the user shall be required to enter the following





values for a home loan:





a. Purchase price of the property





b. Total deposit





c. Interest rate (percentage)





d. Number of months to repay (between 240 and 360)





5. The software shall calculate the monthly home loan repayment for buying a property





based on the values that the user entered.





6. If the monthly home loan repayment is more than a third of the user’s gross monthly





income, the software shall alert the user that approval of the home loan is unlikely.





7. The software shall calculate the available monthly money after all the specified deductions





have been made

Using C# and Visual Studio, design and implement a standalone command-line application that fulfils the following requirements: 1.The user shall be able to enter the following values: a. Gross monthly income (before deductions). b. Estimated monthly tax deducted. c. Estimated monthly expenditures in each of the following categories:

using c# and visual studio, design and implement a standalone command-line application that fulfils the following requirements: 1. the user shall be able to enter the following values: a. gross monthly income (before deductions). b. estimated monthly tax deducted. c. estimated monthly expenditures in each of the following categories: i. groceries ii. water and lights

Machine Problem 5.10.

Write a program using one-­‐dimensional array that searches a number if it is found on

the list of the given 5 input numbers and locate its exact location in the list.


Sample input/output dialogue: E

Enter a list of numbers: 5 4 8 2 6

Enter a number to be searched: 2 2 found in location 4


Machine Problem 5.9.

Write a program using two-­‐dimensional arrays that computes the sum of data in rows

and sum of data in columns of the 3x3 (three by three) array variable n[3[3].


Sample input/output dialogue:

5 9 8 = 22

3 8 2 = 13

4 3 9 = 16

-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐

12 20 19


Machine Problem 5.8.

Write a program using two-­‐dimensional arrays that lists the Odd numbers and Even numbers separately in a given 12 input values.

Sample input/out dialogue:

Enter twelve numbers: 15 20 13 35 40 16 18 20 18 20 19

Odd numbers are: 15 13 35 19

Even numbers are: 40 16 18 20 18 20


LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS