Skip to content

eosocram/ExerciseClass

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Solving exercises with classes :)

This repository is for my evolution in solving problems with classes

1º Exercise

Here, I worked with a concrete class in a separate file, "Model.cs", from the main file, "Program.cs", and created a method, "ShowMeDetails()", to display car information about the Car.

Result:

ResulofCarClass

2º Exercise

This problem was to implement a simple bank account console system in C#, allowing account details to be displayed and deposits to be made.

Features:

  • Automatic generation of a random starting balance between -250 and 250.
  • Deposit of amounts with automatic adjustment if the initial balance is negative, simulating an automatic debit to cover the use of special credit.

Bank Client with negative balance

ResultBAnegative

Bank Client with positive balance

ResultBAnegative

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages