Letícia Rodrigues
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights New
    • Engagement control
    • Make a copy
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Make a copy Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    # Session Three: Programs also choose | Fund. Lógica >[color=blue]**Autor:** Letícia Rodrigues da Silva **Turma:** IndoD **Número:** 25 [toc] ## Exercício 1 **Crie uma função simples que verifique se dois retângulos são iguais baseado em suas áreas.** **- Se forem iguais, retorne: “Os retângulos são iguais”** **- Se forem diferentes, retorne: “Os retângulos são diferentes”** ```csharp= using System; public string RetangulosIguais(double b1, double a1, double b2, double a2) { double area1 = b1 * a1; double area2 = b2 * a2; string mensagem = ""; if (area1 == area2) { mensagem = "Os retangulos são iguais"; } else { mensagem = "Os retangulos são diferentes"; } return mensagem; } string x = RetangulosIguais(10, 2, 5, 4); Console.WriteLine(x); // Os retangulos são iguais ``` ## Exercício 2 **Crie uma função compostas que verifique se dois retângulos são iguais baseado em suas áreas. **- Se forem iguais, retorne: “Os retângulos são iguais”** **- Se o primeiro for maior, retorne: “O primeiro retângulo é maior.”** **- Se o segundo for maior, retorne: “O segundo retângulo é maior.”** ```csharp= public double AreaRetangulo(double basee, double altura) { double area = basee * altura; return area; } public string RetangulosIguais(double b1, double a1, double b2, double a2) { double area1 = AreaRetangulo(b1, a1); double area2 = AreaRetangulo(b2, a2); string m = ""; if (area1 == area2) { m = "Os retângulos são iguais"; } if (area1 > area2) { m = "O primeiro retângulo é maior."; } if (area1 < area2) { m = "O segundo retângulo é maior."; } return m; string y = RetangulosIguais(12, 2, 15, 3); Console.WriteLine(y); // Os retangulos são iguais ``` ## Exercício 3 **Crie uma função compostas que verifique se três retângulos são iguais baseado em suas áreas.** **- Se forem iguais, retorne: “Os retângulos são iguais”** **- Se o primeiro for o maior, retorne: “O primeiro retângulo é maior.”** **- Se o segundo for o maior, retorne: “O segundo retângulo é maior.”** **- Se o terceiro for o maior, retorne: “O terceiro retângulo é maior.”** ```csharp= public class Retangulo { public double Altura { get; set;} public double Basee { get; set;} } public double AreaRetangulo(double basee, double altura) { double area = basee * altura; return area; } public string RetangulosIguais(Retangulo ret1, Retangulo ret2, Retangulo ret3) { double area1 = ret1.Basee * ret1.Altura; double area2 = ret2.Basee * ret2.Altura; double area3 = ret3.Basee * ret3.Altura; string mensagem = ""; if (area1 == area2 && area2 == area3) { mensagem = "Os retângulos são iguais"; } if (area1 > area2 && area1 > area3) { mensagem = "O primeiro retângulo é maior."; } else if (area1 < area2 && area2 > area3) { mensagem = "O segundo retângulo é maior."; } else if (area1 < area3 && area3 > area2) { mensagem = "O terceiro retângulo é maior."; } return mensagem; } Retangulo ret1 = new Retangulo(); ret1.Basee = 12; ret1.Altura = 2; Retangulo ret2 = new Retangulo(); ret2.Basee = 5; ret2.Altura = 8; Retangulo ret3 = new Retangulo(); ret3.Basee = 5; ret3.Altura = 12; string a = RetangulosIguais(ret1, ret2, ret3); Console.WriteLine(a); // O terceiro retângulo é maior. ``` ## Exercício 4 **Crie a(s) classe(s) representando a abstração de função e/ou dados ao lado. Abaixo a especificação das situações a serem resolvidas:** **▪ Calcular o valor total a pagar referente a compra de um ingresso do Cinemark considerando se o ingresso é meia ou inteira.** **▪ Realize a lógica acima, mas no retorno você deve seguir o padrão abaixo: “Compra concluída! O ingresso para o filme XXX é de R$ XXXX”** **▪ Realize a lógica da primeira função, mas considerando a compra de dois ingressos.** ```csharp= public class Ingresso { public bool Meia {get; set;} public double Preco {get; set;} public string Filme {get; set;} } public class Cinemark { public double CalcularTotal1(Ingresso ingresso) { double total = 0; if (ingresso.Meia == true) { total = ingresso.Preco / 2; } else if (ingresso.Meia == false) { total = ingresso.Preco; } return total; } public string CalcularTotal2(Ingresso ingresso) { double total = CalcularTotal1(ingresso); string filme = ingresso.Filme; string mensagem = $"Compra concluída! O ingresso para o filme {ingresso.Filme} é de R$ {total}"; return mensagem; } public double CalcularTotal3(Ingresso ing1, Ingresso ing2) { double total1 = 0; if (ing1.Meia == true && ing2.Meia == true) { total1 = (ing1.Preco / 2) + (ing2.Preco / 2); } else if (ing1.Meia == false && ing2.Meia == false) { total1 = ing1.Preco + ing2.Preco; } else if (ing1.Meia == true && ing2.Meia == false) { total1 = (ing1.Preco / 2) + ing2.Preco; } else { total1 = ing1.Preco + (ing2.Preco / 2); } return total1; } } Cinemark c = new Cinemark(); Ingresso ing1 = new Ingresso(); ing1.Preco = 24; ing1.Meia = true; ing1.Filme = "Godzilla vs Kong"; Ingresso ing2 = new Ingresso(); ing2.Preco = 24; ing2.Meia = false; ing2.Filme = "Godzilla vs Kong"; string t1 = c.CalcularTotal2(ing2); Console.WriteLine(t1); double t = c.CalcularTotal3(ing1, ing2); Console.WriteLine("O total de dois ingressos é R$" + t); // Compra concluída! O ingresso para o filme Godzilla vs Kong é de R$ 24 // O total de dois ingressos é R$36 ``` ## Exercício 5 **Crie a(s) classe(s) representando a abstração de função e/ou dados ao lado. Abaixo a especificação das situações a serem resolvidas:** **▪ Calcular o valor total a pagar referente a compra de ingressos do Cinemark considerando se os ingressos são meia ou inteira.** **▪ Realize a lógica acima, mas no retorno você deve seguir o padrão abaixo: “Compra concluída! A compra de XXXX ingressos XXXX para o filme XXX é de R$ XXXX”** ```csharp= public class Ingressos { public int QtdIngressos {get; set;} public bool Meia {get; set;} public double Preco {get; set;} public string Filme {get; set;} } public class Cinemark { public double CalcularTotal1(Ingressos ingressos) { double total = 0; if (ingressos.Meia == true) { total = ingressos.QtdIngressos * ingressos.Preco / 2; } else if (ingressos.Meia == false) { total = ingressos.QtdIngressos * ingressos.Preco; } return total; } public string CalcularTotal2 (Ingressos ingressos) { double total1 = CalcularTotal1(ingressos); string mensagem = ""; if (ingressos.Meia == true) { mensagem = $"Compra concluída! A compra de {ingressos.QtdIngressos} ingressos meia para o filme {ingressos.Filme} é de R$ {total1}"; } else if (ingressos.Meia == false) { mensagem = $"Compra concluída! A compra de {ingressos.QtdIngressos} ingressos inteira para o filme {ingressos.Filme} é de R$ {total1}"; } return mensagem; } } Cinemark c = new Cinemark(); Ingressos ingressos1 = new Ingressos(); ingressos1.QtdIngressos = 2; ingressos1.Meia = false; ingressos1.Filme = "Mulher Maravilha"; ingressos1.Preco = 24; string t = c.CalcularTotal2(ingressos1); Console.WriteLine(t); // Compra concluída! A compra de 2 ingressos inteira para o filme Mulher Maravilha é de R$ 48 ``` ## Exercício 6 **Crie a(s) classe(s) representando a abstração de função e/ou dados ao lado. Abaixo a especificação das situações a serem resolvidas:** **▪ Calcular o valor total a pagar referente a compra de ingressos do Cinemark considerando se os ingressos são meia ou inteira e o cupom de desconto.** **▪ Aplicar o cupom de desconto que vem em porcentagem em cima do valor total dos ingressos. A função deve retornar o valor já com o desconto aplicado.** ```csharp= public class Ingressos { public int QtdIngressos {get; set;} public bool Meia {get; set;} public double Preco {get; set;} public string Filme {get; set;} } public class Cinemark { public double CalcularTotal (Ingressos ingressos, double cupom) { double total; if (ingressos.Meia == true) { total = ingressos.Preco / 2 * ingressos.QtdIngressos; } else { total = ingressos.Preco * ingressos.QtdIngressos; } return total; } private double AplicarCupom (double total, double cupom) { double c = cupom / 100; return c; } } Ingressos i = new Ingressos(); i.Filme = "Os incríveis"; i.Meia = false; i.Preco = 24; i.QtdIngressos = 2; Cinemark c = new Cinemark(); double calcular = c.CalcularTotal(i, 15); Console.WriteLine(calcular); // 48 ``` ## Exercício 7 **Crie a(s) classe(s) representando a abstração defunção e/ou dados ao lado. Abaixo a especificação das situações a serem resolvidas:** **▪ Calcular o valor total a pagar referente a compra de ingressos do Cinemark considerando se os ingressos são meia ou inteira e o cupom de desconto. Além do cupom de desconto você deve aplicar as seguintes regras: ➢ Se o total da compra de ingressos for maior que R$ 100,00 após a aplicação do desconto, aplicar mais 10% de desconto.** **▪ Aplicar o cupom de desconto que vem em porcentagem em cima do valor total dos ingressos. A função deve retornar o valor já com o desconto aplicado.** ```csharp= public class Ingressos { public int QtdIngressos {get; set;} public bool Meia {get; set;} public double Preco {get; set;} public string Filme {get; set;} } public class Cinemark { public double CalcularTotal (Ingressos ingressos, double cupom) { double total; if (ingressos.Meia == true) { total = ingressos.Preco / 2 * ingressos.QtdIngressos; } else { total = ingressos.Preco * ingressos.QtdIngressos; } double a; if ( total > 100) { a = (cupom - cupom) + 10; a = AplicarCupom(total, a); } else { a = total; } return a; } private double AplicarCupom (double total, double cupom) { double c = cupom / 100; return c; } } Ingressos i = new Ingressos(); i.Meia = false; i.Filme = "Os incríveis"; i.Preco = 24; i.QtdIngressos = 4; Cinemark c = new Cinemark(); double t = c.CalcularTotal(i, 15); Console.WriteLine(t); // 96 ``` ## Exercício 8 **Crie a(s) classe(s) representando a abstração de função e/ou dados ao lado. Abaixo a especificação das situações a serem resolvidas:** **▪ Calcular o valor total a pagar referente a compra de ingressos do Cinemark considerando se os ingressos são meia ou inteira e o cupom de desconto. Além do cupom de desconto você deve aplicar as seguintes regras:** **➢ Se o dia atual for uma quarta-feira aplicar desconto de 50% no valor da compra após aplicar o desconto.** **➢ Se o total da compra de ingressos for maior que R$ 100,00 após a verificação de quarta-feira, aplicar mais 10% de desconto.** **▪ Aplicar o cupom de desconto que vem em porcentagem em cima do valor total dos ingressos. A função deve retornar o valor já com o desconto aplicado.** **Você pode incluir outras funções compostas que não estejam presentes no diagrama ao lado.** ```csharp= ublic class Ingressos { public int QtdIngressos {get; set;} public bool Meia {get; set;} public double Preco {get; set;} public string Filme {get; set;} } public class Cinemark { public double CalcularTotal (Ingressos ingressos, double cupom) { double total; if (ingressos.Meia == true) { total = ingressos.Preco / 2 * ingressos.QtdIngressos; } else { total = ingressos.Preco * ingressos.QtdIngressos; } double a; DateTime dt = new DateTime(2021, 04, 06); if (dt.DayOfWeek == DayOfWeek.Wednesday) { a = cupom + (50 / 100); a = AplicarCupom(total, a); } else if (dt.DayOfWeek == DayOfWeek.Wednesday && ingressos.Preco > 100) { a = cupom + (10 / 100); } else { a = total; } return a; } private double AplicarCupom (double total, double cupom) { double c = cupom / 100; return c; } } Ingressos i = new Ingressos(); i.Preco = 24; i.QtdIngressos = 6; i.Meia = false; Cinemark c = new Cinemark(); double calcular = c.CalcularTotal(i, 15); Console.WriteLine(calcular); // 144 ``` ## Exercício 9 **Crie a(s) classe(s) representando a abstração de função e/ou dados ao lado. Abaixo a especificação das situações a serem resolvidas:** **▪ Calcular o valor total a pagar referente a compra de ingressos do Cinemark considerando se os ingressos são meia ou inteira e o cupom de desconto. Além do cupom de desconto você deve aplicar as seguintes regras:** **➢ Se o gênero for ‘NACIONAL’ o valor de cada ingresso será R$ 5,00 independente de qualquer valor e todas as regras abaixo serão desconsideradas. ➢ Se o dia atual for uma quarta-feira aplicar desconto de 50% no valor da compra após aplicar o desconto. ➢ Se o total da compra de ingressos for maior que R$ 100,00 após a verificação de quarta-feira, aplicar mais 10% de desconto.** **▪ Aplicar o cupom de desconto que vem em porcentagem em cima do valor total dos ingressos. A função deve retornar o valor já com o desconto aplicado.** **Você pode incluir outras funções compostas que não estejam presentes no diagrama ao lado.** ```csharp= public class Ingressos { public int QtdIngressos {get; set;} public bool Meia {get; set;} public double Preco {get; set;} public string Filme {get; set;} public string Genero {get; set;} } public class Cinemark { public double CalcularTotal (Ingressos ingressos, double cupom) { double total; if (ingressos.Genero == "Nacional") { total = ingressos.Preco = 5; total = ingressos.Preco * ingressos.QtdIngressos; return total; } else { total = ingressos.Preco; } double t = ingressos.Meia == true ? ingressos.Preco / 2 : ingressos.Preco; DateTime dt = DateTime.Now; double c = t * ingressos.QtdIngressos; double d = AplicarCupom(c, cupom); double g; if (dt.DayOfWeek == DayOfWeek.Wednesday) { g = cupom + 50; g = AplicarCupom(d, g); } else { g = d; } double h; if (g > 100) { h = cupom + 10; h = AplicarCupom(g, h); } else { h = g; } return h; } public double AplicarCupom (double total, double cupom) { double e = total * cupom / 100; double f = total - e; return f; } } Ingressos i = new Ingressos(); i.Preco = 24; i.QtdIngressos = 2; i.Meia = true; Cinemark c = new Cinemark(); double calcular = c.CalcularTotal(i, 15); Console.WriteLine(calcular); // 20,4 ``` ## Exercício 10 **Faça uma função que implemente a lógica que identifique o vencedor de uma partida de Jokenpo dizendo se quem ganhou foi o jogador1, jogador2 ou empate.** ```csharp= public class Partida { public int Jogador { get; set; } public string Jogada { get; set; } } public string Jokenpo(Partida j1, Partida j2) { int soma = j1.Jogador + j2.Jogador; string mensagem = " "; if (j1.Jogada == "Papel" && j2.Jogada == "Pedra" || j1.Jogada == "Tesoura" && j2.Jogada == "Papel" || j1.Jogada == "Pedra" && j2.Jogada == "Tesoura") { mensagem = "O jogador 1 ganhou"; } else if (j2.Jogada == "Papel" && j1.Jogada == "Pedra" || j2.Jogada == "Tesoura" && j1.Jogada == "Papel" || j2.Jogada == "Pedra" && j1.Jogada == "Tesoura") { mensagem = "O jogador 2 ganhou"; } else { mensagem = "Empate"; } return mensagem; } Partida p1 = new Partida(); p1.Jogada = "Papel"; p1.Jogador = 1; Partida p2 = new Partida(); p2.Jogada = "Tesoura"; p2.Jogador = 2; string final = Jokenpo(p1, p2); Console.WriteLine(final); // O jogador 2 ganhou ``` ## Exercício 11 **Faça uma função que implemente a lógica que identifique o vencedor de uma partida de Par ou Ímpar dizendo se quem ganhou foi o jogador1, jogador2 ou empate.** ```csharp= public class Partida { public int Jogador { get; set; } public string Jogada { get; set; } public int Dedos { get; set; } } public string Jokenpo(Partida j1, Partida j2) { int soma = j1.Dedos + j2.Dedos; string mensagem = " "; if (soma % 2 == 0 && j1.Jogada == "Par") { mensagem = "Deu par, o jogador 1 ganhou"; } else { mensagem = "Deu ímpar, o jogador 2 ganhou"; } return mensagem; } Partida p1 = new Partida(); p1.Jogada = "Par"; p1.Jogador = 1; p1.Dedos = 4; Partida p2 = new Partida(); p2.Jogada = "Ímpar"; p2.Jogador = 2; p2.Dedos = 8; string final = Jokenpo(p1, p2); Console.WriteLine(final); // Deu par, o jogador 1 ganhou ```

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully