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

can you design this program for me and how much would it cost?:

You are to design, implement, test and provide suitable documentation for a program that is used to store names and phone numbers in a 2Dimensional Array i.e. a simple Telephone Directory.
The Directory is to be used to store 20 records maximum.
in c# write a method in a mathclass that accepts variable number of integers.method should find the sum of all integers parsed and display the result.write a client program to call the method with variable number of integers.
1)wap to make a array have 10 values and print its values.
2.WAP to print the array, calculate the length, rank of it.
3.WAP to print the Matrix and also print the sum of its elements.
4.W.A.P. to find biggest and smallest number in the matrix.
5.W.A.P. to print both diagonal of a matrix and also print the sum of diagonals.
6.wap to enter 10 employee name in 1-D a array. Condition is that If a name already exists then prompt a message -“Name already exist!!!”.Continue until all names are entered ,then display all the entered names.
7) WAP to find the sum of values of rows and columns of 2-d array.
8) WAP for two 5x5 matrices and their multiplication in another matrix.
A car rental company has two types of customers: Private and Commercial. Both accounts allow customers to rent cars for specified periods (start date plus no of days rental). Also, both types of customers would have a customer record with name and a customer number. Private customers can only pay by cash or credit card upfront, commercial customers will have an account against which rentals are booked. Also, commercial customers would name a driver (and there can be several rentals for the same period against their account with different drivers named).
You must develop a sensible class structure to capture these accounts and provide methods for their specific features (book, pay, send monthly bill, produce rental invoice).
Develop a console programme creating some accounts to test your operations.
Your application should display the following alternatives: Please type 1 for First Class and
Please type 2 for Economy. If the user types 1, your application should assign a seat in the first-class
section (seats 1–5). If the user types 2, your application should assign a seat in the economy section
(seats 6–10). Your application should then display a boarding pass indicating the person’s seat
number and whether it is in the first-class or economy section of the plane.
Use a one-dimensional array of primitive type boolean to represent the seating chart of the
plane. Initialize all the elements of the array to false to indicate that all the seats are empty. As
each seat is assigned, set the corresponding elements of the array to true to indicate that the seat is
no longer available.
Your application should never assign a seat that has already been assigned. When the economy
section is full, your application should ask the person if it is acceptable to be placed in the first-class
section
What exactly is the difference between methods and properties?
A public class called Pizza with the following:

• A public attribute, of string type, called TypeofPizza. This attribute will hold four values (Vegetable, Margarita, Pepperoni, Napolitano).
• A public attribute, of char type, called SizeofPizza. This attribute will hold three values (S, M, and L), where S for Small, M for Medium, and L for Large.
Write an object-oriented program in C# that takes a Pizza type and size as inputs. The program then should compute and print the price.

You will need the following for the program implementation.

1. A public class called Pizza with the following:

• A public attribute, of string type, called TypeofPizza. This attribute will hold four values (Vegetable, Margarita, Pepperoni, Napolitano).
• A public attribute, of char type, called SizeofPizza. This attribute will hold three values (S, M, and L), where S for Small, M for Medium, and L for Large.
• A method called CalculPrice to compute the price of the pizza, using the list prices below:

TypeofPizza
Size
Vegetable
Margarita
Pepperoni
Napolitano
Small
10 AED
10 AED
15 AED
15 AED
Medium
14 AED
14 AED
19 AED
19 AED
Large
18 AED
18 AED
23 AED
23 AED


2. A main( ) method in the client class with following tasks:

• Declare an object called MyPizza of type Pizza class.

• Print the following messages for the user:
o “Please select yourpizza:”
o “1. Pizza Margarita”
o “2. Pizza Pepperoni”
o “3. Pizza Napolitano”
o “4. Pizza Vegetable”

• Read the pizza correspondent number and save it in a suitable declared variable.

• Print a message the asks the user to enter the pizza size

• Read the pizza size and save it in a suitable declared variable.

• Compute the price of the entered pizza by calling the method CalculPrice.

• Print a message that contains the name, the size and the price of the pizza.
Need some help with a C# programming assignment. Timeframe. Need by 5 pm EST today. Using Microsoft Visual Studio C# 2010.

Assignment #7

Functionality



The .NET BCL lacks an implementation of a Set class. Your job is to implement a basic Set class. For this

assignment, we’ll use the following definition of a set:



A set is an unordered collection of unique objects of a homogenous type.



ISet<T> and Set<T>



Implement a generic interface called ISet<T> that defines the following methods:



void Add(T element). Adds an element to the set. Does nothing is the element is already in

the set.

T Remove(T element). Removes the element from the set. The removed element is returned.

If the element does not exist, returns null.

bool Contains(T element). Returns a bool value indicating if the given element is currently a

member of the set.

ISet<T> Intersect(ISet<T> otherset). Returns the intersection of the two sets as a new

ISet<T>.
Write a program that prints the following diamond shape. You may use output statements that print a single asterisk (*), a single space or a single newline character.

*
* * *
* * * * *
* * * * * * *
* * * * *
* * *
*
LATEST TUTORIALS
APPROVED BY CLIENTS