Skip to content

Update multiplication_tables.cpp #14

Update multiplication_tables.cpp

Update multiplication_tables.cpp #14

Workflow file for this run

name: Compile code
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install dependencies
if: matrix.os == 'windows-latest'
run: |
choco install mingw
- name: Build and run program
run: |
g++ -std=c++11 -o multiplication_tables ./src/multiplication_tables.cpp
echo 2 | ./multiplication_tables