TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
hassaan akhatr
NA
3
5.5k
functions in c#
Jun 18 2013 10:42 AM
Write a program in c# that computes and displays the charges for a person's hotel stay. First, the program should ask if the person
hired a room in hotel or he/she here for just dinning. If the person was a resident of hotel, the following data should be entered:
1. The number of days spent in the hotel
2. The daily rate
3. Charges for hotel services (internet, etc.)
4. Tax percentage
The program should ask for the following data if the patient was here for dinning:
1. Charges for hotel services (internet, etc.)
2. Tax percentage
The program should use two overloaded functions to calculate the total charges. One of the functions should accept arguments
for the hotel resident's data, while the other function accepts arguments for hotel's dinning information. Both functions should
return the total charges. Write your main function and test the functionality of your application.
Reply
Answers (
2
)
username log in program in c#?
Problem facing in Entity Framework