Programming 1
Programming 1
The project entitled "Community Home Owner Information Portal " is a software application that serve as a center
for managing information and facilitating communication with the homeowner .The said project/system can help
the homeowner navigate their account and keep them informed and engaged with their communities.
Advantage of the Community Home Owners Information Portal can be classified into the following :
1. Enhanced Communication and Transparency-provides a central hub for information dissemination, real-time
access to documents, and open communication.
2. Improved Efficiency and Convenience-processes for payments, service requests, and document access save time
and effort for both homeowners and the association.
3. Enhanced Security and Data Management-to secure access control, utilizing user authentication and role-based
permissions to protect sensitive information.
1. Secure User Authentication and Access Control- to ensure that only authorized individuals can access sensitive
information.
3. Financial Management and Dues Payment-a secure platform for homeowners to manage their financial
accounts.
4. Maintenance and Service Requests-maintenance requests or service requests directly through the portal.
5. Document Management and Storage-Homeowners should be able to access these documents easily, ensuring
transparency and accountability.
6. Community Calendar and Events-helps to keep homeowners informed and engaged in community activities.
7. Architectural Review and Permitting- process to ensures that all modifications comply with community
guidelines
8. Community Directory and Resources-helps to connect homeowners with valuable information and services
within their neighborhood.
9. Feedback and Survey Tools-to scale homeowner satisfaction, identify areas for improvement, and make
informed decisions based on community input.
10. Mobile Accessibility-allowing homeowners to manage their accounts and access information on their
smartphones or tablets.
Source Code:
using System;
using System.Collections.Generic;
namespace CommunityHomeOwnerPortal
{
class Program
{
// Class to store user details
class User
{
public string Username { get; set; }
public string Password { get; set; }
public string Role { get; set; }
public double Dues { get; set; }
public bool HasMobileAccess { get; set; }
public User(string username, string password, string role, double dues, bool
hasMobileAccess)
{
Username = username;
Password = password;
Role = role;
Dues = dues;
HasMobileAccess = hasMobileAccess;
}
}
if (currentUser == null)
{
Console.WriteLine("\nInvalid username or password. Please try again.");
AuthenticateUser(); // Recurse if credentials are wrong
}
else
{
Console.WriteLine($"\nWelcome, {currentUser.Username}!");
}
}
while (!exitPortal)
{
// Display main menu options
Console.WriteLine("\nMain Menu:");
Console.WriteLine("1. Check Dues");
Console.WriteLine("2. Submit Maintenance Request");
Console.WriteLine("3. View Documents");
Console.WriteLine("4. Submit Feedback");
Console.WriteLine("5. Check Mobile Access");
Console.WriteLine("6. Logout");
Console.Write("\nEnter your choice (1-6): ");
if (currentUser.Role == "Homeowner")
{
Console.WriteLine("Available Documents: ");
Console.WriteLine("- Community Guidelines");
Console.WriteLine("- Monthly Newsletter");
}
else if (currentUser.Role == "Admin")
{
Console.WriteLine("Available Documents for Admin: ");
Console.WriteLine("- Community Guidelines");
Console.WriteLine("- Monthly Newsletter");
Console.WriteLine("- Financial Reports");
Console.WriteLine("- Maintenance Logs");
}
}
}
}
}