Logic Building Questions
Logic Building Questions
Arrays
Strings
Functions
- Implement a function to find the GCD (Greatest Common Divisor) of two numbers.
- Create a class `BankAccount` with methods to deposit, withdraw, and check balance.
- Design a `Person` class with properties for name, age, and a method to display the details.
- Create a `Shape` base class and derive classes for `Circle`, `Square`, and `Rectangle`.
- Design an abstract class `Vehicle` with a method `StartEngine` and derive classes for `Car` and
`Bike`.
- Implement a `Student` class with properties, constructors, and methods for managing student data.
Logic Building Questions
C#
- Create an interface `IShape` with methods for area and perimeter, and implement it in `Circle` and
`Rectangle`.
WinForms
- Develop a form to calculate the sum of two numbers using text boxes and a button.
- Create a notepad application with options to save, open, and edit text files.