λFPAI
Practice/Bank Account System

Bank Account System

Beginner

Problem Description

Create a BankAccount class with attributes like account_number, holder_name, and balance.

Add methods deposit(amount) and withdraw(amount) (prevent negative balance). Create two account objects and perform transactions.

OOP Focus: Class, objects, attributes, methods, and basic encapsulation.

Note: This is statement-only in the current Practice version; stdout should be empty.

Input & Output Format

INPUT:
Two lines. First line: space-separated numbers for vector a.
Second line: space-separated numbers for vector b.
OUTPUT:
A single number (the dot product).

Example

Input:
1 2 3
4 5 6
Output:
32
Explanation: 1×4 + 2×5 + 3×6 = 4 + 10 + 18 = 32
Loading editor...

Output

Run or submit to see output.