Bank app sesjon1

This commit is contained in:
Geir Okkenhaug Jerstad 2024-11-27 10:51:48 +01:00
parent 0aa442271f
commit b4890bdccb
7 changed files with 80 additions and 0 deletions

View file

@ -0,0 +1,11 @@
namespace BankAppMarie
{
internal class Account
{
int _balance;
string _accountName;
bool _savingsAccount;
string _accountNumber;
string[] _accountTransactions;
}
}

View file

@ -0,0 +1,7 @@
namespace BankAppMarie
{
public class Bank
{
}
}

View file

@ -0,0 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
</Project>

View file

@ -0,0 +1,11 @@
namespace BankAppMarie
{
public class Bill
{
int _amount;
string _accountNumber;
string _sender;
string _kidNr;
DateTime _payDate;
}
}

View file

@ -0,0 +1,11 @@
namespace BankAppMarie
{
public class Customer
{
string _CustomerName;
string _socialSecurityNumber;
Account _savingsAccount;
Account _currentAccount;
}
}

View file

@ -0,0 +1,14 @@
// Logge inn
// Sec
// Overføre Penger - egne konto
// Betale regninger
// Overføre mellom to konto
// Sjekke Saldo
// opprette sparekonto
// Sette inn penger
// Objekter
// Konto
// Kunde
// Regning