estival of India (IFFI), founded in 1952, is one of the most significant film festivals in Asia. The festival is for a week and arrangements have to be made for food, chairs, tables, etc. The organizing committee plans to deposit the advance amount to the contractors on confirmation of booking. Help them to store these details and print them in detailed view. Write a C# program to get item type name, cost per day and deposit amount from user and display these details in a detailed view using the following classes and methods. [Note : Strictly adhere to the object oriented specifications given as a part of the problem statement. Follow the naming conventions as mentioned. Create separate classes in separate files.] Consider a class named Item Type. I must have the following private member variables/attributes. Data type tring puble puble Attributes name costPerDay deposit clude appropriate getters and setters. e Item Type class includes the following method.

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

Using getter and setter method ofthe class item type

Private string_name;

Public string Name{

Get{

Return this._name;

Set{

 this._name=value;

}

}

петуре
The International Film Festival of India (IFFI), founded in 1952, is one of the most significant film festivals in Asia. The festival is for a week and
arrangements have to be made for food, chairs, tables, etc. The organizing committee plans to deposit the advance amount to the contractors on
confirmation of booking. Help them to store these details and print them in detailed view.
Write a C# program to get item type name, cost per day and deposit amount from user and display these details ina detailed view using the following
classes and methods.
[Note : Strictly adhere to the object oriented specifications given as a part of the problem statement.
Follow the naming conventions as mentioned. Create separate classes in separate files.]
Consider a class named Item Type.
It must have the following private member variables/attributes.
Data type
string
double
double
Attributes
name
costPerDay
deposit
nclude appropriate getters and setters.
he Item Type class includes the following method.
ethod name
Description
In this method, fill in the code to display the details of the ItemType in the format as shown in the sample output.
Include the statement "Item type details' inside this method.
blic void Display()
eate another class Program and write a main method to test the above class.
he Main() method, read the item type details from the user and create an ItemType object with the given details and call the Display() method.
ese use the below sample conventions to create getters and setters of the class ItemType
Transcribed Image Text:петуре The International Film Festival of India (IFFI), founded in 1952, is one of the most significant film festivals in Asia. The festival is for a week and arrangements have to be made for food, chairs, tables, etc. The organizing committee plans to deposit the advance amount to the contractors on confirmation of booking. Help them to store these details and print them in detailed view. Write a C# program to get item type name, cost per day and deposit amount from user and display these details ina detailed view using the following classes and methods. [Note : Strictly adhere to the object oriented specifications given as a part of the problem statement. Follow the naming conventions as mentioned. Create separate classes in separate files.] Consider a class named Item Type. It must have the following private member variables/attributes. Data type string double double Attributes name costPerDay deposit nclude appropriate getters and setters. he Item Type class includes the following method. ethod name Description In this method, fill in the code to display the details of the ItemType in the format as shown in the sample output. Include the statement "Item type details' inside this method. blic void Display() eate another class Program and write a main method to test the above class. he Main() method, read the item type details from the user and create an ItemType object with the given details and call the Display() method. ese use the below sample conventions to create getters and setters of the class ItemType
Note:
costPerDay and deposit should be displayed up to 2 decimal places.
[All text in bold correspondstoinput and the rest corresponds to the output.]
Sample Input and Output 1:
Enter the item type name
Catering
Enter the cost per day
25000.00
Enter the deposit
10000.50
Item type details
Name Catering
CostPerDay 25000 00
Deposit 10000 50
Transcribed Image Text:Note: costPerDay and deposit should be displayed up to 2 decimal places. [All text in bold correspondstoinput and the rest corresponds to the output.] Sample Input and Output 1: Enter the item type name Catering Enter the cost per day 25000.00 Enter the deposit 10000.50 Item type details Name Catering CostPerDay 25000 00 Deposit 10000 50
Expert Solution
steps

Step by step

Solved in 3 steps with 2 images

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY