Hackathon

1. ATM SYSTEM

Problem Summary: Create a menu to Deposit, Withdraw, Change PIN, and Check Balance . Key Logic: Use a while True loop to keep the program running until "Exit" is chosen.

# --- INITIAL SETUP ---

balance = 5000  # Starting money

pin = 1234      # Default PIN

print("--- WELCOME TO ATM ---")

while True:

    # 1. Display Menu [cite: 16]

    print("\n1. Deposit  2. Withdraw  3. Check Balance  4. Change PIN  5. Exit")

    choice = input("Enter choice: ")

    # ---...

See on Student Notes »

trespasse

I. Contrato de Agência

O Contrato de Agência encontra-se regulado no Decreto-Lei n.º 178/86, de 3 de julho (RJA), com as alterações do DL n.º 118/93. Define-se como o contrato pelo qual uma das partes se obriga a promover, por conta da outra, a celebração de contratos, de modo autónomo e estável e mediante retribuição, podendo ser-lhe atribuída uma certa zona ou círculo de clientes.

Elementos Fundamentais

Obrigação de Promover: O agente tem a obrigação de promover a celebração...

See on Wikiteka »

data structures

class AVLTree {

    class Node {
        int key, height;
        Node left, right;

        Node(int key) {
            this.key = key;
            this.height = 1;
        }
    }

    Node root;

    int height(Node n) {
        return (n == null) ? 0 : n.height;
    }

    int balance(Node n) {
        return (n == null) ? 0 : height(n.left) - height(n.right);
    }

    Node rotateRight(Node y) {
        Node x = y.left;
        Node t = x.right;

...

See on Student Notes »

C Programming

In C language, pointers and arrays have a very close relationship, and understanding this relationship is important for memory handling and efficient programming. An array is a collection of similar data items stored in contiguous memory locations, whereas a pointer is a variable that stores the address of another variable. Because an array name represents the address of its first element, a pointer can be directly used to access and manipulate array elements.

1. Array Name as a Pointer:-  In C,

...

See on Student Notes »

Economy

1. Definicja Ubezpieczenia i Uzasadnienie Korzystania z Niego 

Ubezpieczenie to forma ochrony przed skutkami określonych ryzyk (życiowych lub majątkowych).

  • Polega na gromadzeniu środków finansowych we wspólnym funduszu tworzonym przez osoby narażone na te same ryzyka.

  • Zgromadzone środki służą do wypłaty świadczeń w razie wystąpienia zdarzenia losowego.

  • Ubezpieczenia społeczne chronią jednostkę przed niedostatkiem wynikającym z choroby, śmierci, kalectwa lub utraty zdolności

...

See on Wikiteka »

JAVA oops

In Java, multiple catch statements allow a program to handle different types of exceptions separately. When we write a try block, it may throw different exceptions while running. To handle each specific exception, Java provides multiple catch blocks, arranged one after another. Multiple catch statements mean writing more than one catch block after a single try block so that each block handles a different type of exception. This helps in writing reliable and error-free programs.

Need for Multiple

...

See on Student Notes »

GPG Thema Erinnern

Fachbegriffe: Errinerung: etwas das man aus der Vergangenheit im kopf  behält. Verdrängen: Wenn man sich absichtlich nicht errinern will.  Erinnerungskultur: Wie ein Land oder eine Gesellschaft mit Erinnerungen an die Vergangenheit umgeht (z. B. Gedenkstätten, Stolpersteine. Holocaust: Die geplante Ermordung von etwa 6 Millionen Juden und vielen anderen Gruppen durch die Nationalsozialisten im Zweiten Weltkrieg. Erinnerungsort+Beispiel:  Ein Ort, der an wichtige Ereignisse erinnert. Z.B:
...

See on Wikiteka »

Xheat3

शब्दभण्डार
१. दिइएका अर्थ आउने शब्द पाठबाट खोजेर लेख्नुहोस् :
(क) विवाह, व्रतबन्ध आदि शुभकार्य गर्न जुरेको योग
= लगन
(ख) दुलही
= बेहुली
(ग) नओइलाउने एक प्रकारको फूल
= मखमली
(घ) असोज र कात्तिक महिनामा पर्ने...

See on Wikiteka »

Indian economy 3

 Black money

Black money refers to income or wealth that is earned through illegal means or is unreported and untaxed. In India, black money is a significant issue, often linked to corruption, tax evasion, and illicit activities. It's typically held in cash or offshore accounts to avoid detection.

*Sources of Black Money:*

- *Tax Evasion*: Unreported income or wealth, often in cash, to avoid paying taxes

- *Corruption*: Bribes, kickbacks, and other forms of corruption

- *Illicit Activities*: Income

...

See on Student Notes »