Skip to content

JakePorter05/Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧮 Calculator

A Simple Console Calculator — C# Academy Assignment

✨ Overview

This repository contains a console‑based calculator application built as part of the C# Academy learning path.
The project demonstrates core C# fundamentals such as methods, input handling, and basic arithmetic operations.
It also includes a separate CalculatorLibrary project, showing how to structure reusable logic in a class library.


📁 Project Structure

The solution contains two main components:

Project Description
Calculator The console application that handles user interaction, input, and output.
CalculatorLibrary A class library containing the calculation logic (e.g., addition, subtraction, multiplication, division).

🧮 Features

  • Perform basic arithmetic operations:
    • Addition
    • Subtraction
    • Multiplication
    • Division
  • With some non-basic operations:
    • Log
    • 10x
    • Power
    • Square Root
  • Clean separation of concerns using a dedicated library project
  • Simple, readable console interface
  • Simple speech to text for requestion numbers if enabled with Azure services.
  • Demonstrates foundational C# concepts:
    • Methods
    • Namespaces
    • Project references
    • Input validation

🚀 How to Run

  1. Clone the repository:
    git clone https://github.com/JakePorter05/Calculator
  2. Add App secrets for the speech to text service
{
  "SpeechService": {
    "Key": "Key",
    "Region": "region"
  }
}

About

C# Academy's Console.Calculator Assignment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages