Multtable is a collection of multiplication table generators in various languages.

Overview

Multtable

Multtable is a collection of multiplication table generators in various languages.

This project was created as a joke based on one of my brother's CS assignments.

Goals

The goal is to write the same exact thing in as many different programming languages as possible, and in as many frameworks as possible. Filling out the entirity of the Wikipedia List of Programming Languages is unlikely but would be very nice.

Currently completed languages

  • C#
    • Library (For use in any other C# project)
    • Console App (.NET 5.0, .NET Standard 2.0, .NET Framework 4.0, & .NET Framework 4.5)
  • JS
  • C
    • Console App
  • Python
    • Console App (Python 3+)

Contributing

PRs should include the steps to build and run your code and a screenshot of the output. Folder naming scheme should be root/language/application, so if your pr is a Rust console application then it would be root/rust/console.

Your code should take input from the user to determine the number of rows and columns and then output as:

Input the number of columns: 22
Input the number of rows: 22
    |   1   2   3   4   5   6   7   8   9  10  11  12  13  14  15  16  17  18  19  20  21  22
----------------------------------------------------------------------------------------------
  1 |   1   2   3   4   5   6   7   8   9  10  11  12  13  14  15  16  17  18  19  20  21  22
  2 |   2   4   6   8  10  12  14  16  18  20  22  24  26  28  30  32  34  36  38  40  42  44
  3 |   3   6   9  12  15  18  21  24  27  30  33  36  39  42  45  48  51  54  57  60  63  66
  4 |   4   8  12  16  20  24  28  32  36  40  44  48  52  56  60  64  68  72  76  80  84  88
  5 |   5  10  15  20  25  30  35  40  45  50  55  60  65  70  75  80  85  90  95 100 105 110
  6 |   6  12  18  24  30  36  42  48  54  60  66  72  78  84  90  96 102 108 114 120 126 132
  7 |   7  14  21  28  35  42  49  56  63  70  77  84  91  98 105 112 119 126 133 140 147 154
  8 |   8  16  24  32  40  48  56  64  72  80  88  96 104 112 120 128 136 144 152 160 168 176
  9 |   9  18  27  36  45  54  63  72  81  90  99 108 117 126 135 144 153 162 171 180 189 198
 10 |  10  20  30  40  50  60  70  80  90 100 110 120 130 140 150 160 170 180 190 200 210 220
 11 |  11  22  33  44  55  66  77  88  99 110 121 132 143 154 165 176 187 198 209 220 231 242
 12 |  12  24  36  48  60  72  84  96 108 120 132 144 156 168 180 192 204 216 228 240 252 264
 13 |  13  26  39  52  65  78  91 104 117 130 143 156 169 182 195 208 221 234 247 260 273 286
 14 |  14  28  42  56  70  84  98 112 126 140 154 168 182 196 210 224 238 252 266 280 294 308
 15 |  15  30  45  60  75  90 105 120 135 150 165 180 195 210 225 240 255 270 285 300 315 330
 16 |  16  32  48  64  80  96 112 128 144 160 176 192 208 224 240 256 272 288 304 320 336 352
 17 |  17  34  51  68  85 102 119 136 153 170 187 204 221 238 255 272 289 306 323 340 357 374
 18 |  18  36  54  72  90 108 126 144 162 180 198 216 234 252 270 288 306 324 342 360 378 396
 19 |  19  38  57  76  95 114 133 152 171 190 209 228 247 266 285 304 323 342 361 380 399 418
 20 |  20  40  60  80 100 120 140 160 180 200 220 240 260 280 300 320 340 360 380 400 420 440
 21 |  21  42  63  84 105 126 147 168 189 210 231 252 273 294 315 336 357 378 399 420 441 462
 22 |  22  44  66  88 110 132 154 176 198 220 242 264 286 308 330 352 374 396 418 440 462 484

NOTES:

  • It should not only output 22 rows/columns each time, it should actually respond to user input.
  • There ARE spaces at the beginning of each line before the segment denoting the row number. Without that spaces the text can become smushed against the console wall.
You might also like...
Hello World in different languages !
Hello World in different languages !

Hello World And some Examples in different Programming Languages This repository contains a big list of programming languages and some examples for th

A flexible free and unlimited python tool to translate between different languages in a simple way using multiple translators.
A flexible free and unlimited python tool to translate between different languages in a simple way using multiple translators.

deep-translator Translation for humans A flexible FREE and UNLIMITED tool to translate between different languages in a simple way using multiple tran

Similarity checking of sign languages
Similarity checking of sign languages

Similarity checking of sign languages This repository checks for similarity betw

Implements a polyglot REPL which supports multiple languages and shared meta-object protocol scope between REPLs.
Implements a polyglot REPL which supports multiple languages and shared meta-object protocol scope between REPLs.

MetaCall Polyglot REPL Description This repository implements a Polyglot REPL which shares the state of the meta-object protocol between the REPLs. Us

Calculatrix is a project where I'll create plenty of calculators in a lot of differents languages

Calculatrix What is Calculatrix ? Calculatrix is a project where I'll create plenty of calculators in a lot of differents languages. I know this sound

Solve various integral equations using numerical methods in Python

Solve Volterra and Fredholm integral equations This Python package estimates Volterra and Fredholm integral equations using known techniques. Installa

Poetry plugin to bundle projects into various formats

Poetry bundle plugin This package is a plugin that allows the bundling of Poetry projects into various formats. Installation The easiest way to instal

KUIZ is a web application quiz where you can create/take a quiz for learning and sharing knowledge from various subjects, questions and answers.

KUIZ KUIZ is a web application quiz where you can create/take a quiz for learning and sharing knowledge from various subjects, questions and answers.

Tindicators is a Python library to calculate the values of various technical indicators

Tindicators is a Python library to calculate the values of various technical indicators

Comments
  • Add implementation in DDP

    Add implementation in DDP

    How to run

    1. Download the "DDP" zip file from https://github.com/NotLe0n/Die-Deutsche-Programmiersprache/releases (at least v1.2)
    2. Unpack the zip file.
    3. If you have .Net installed you can use the exe in exe > framework-dependent otherwise use the exe in the folder for your operating system (exe > win/mac/linux).
    4. Open the .ddp file using DDP.exe. You can also use the command line with the path of the ddp file as the first argument like this: DDP.exe %USERPROFILE%\Desktop\multtable.ddp

    Output

    image

    opened by NotLe0n 1
  • Implementation in C

    Implementation in C

    For building

    • Open Developer Command Prompt for Visual Studio, change directory to the folder that contains main.c and type cl.exe main.c
    • For gcc, gcc main.c -o main.exe or g++ compilers g++ main.c -o main.exe

    Other C/C++ compilers could work too

    For running the code

    • Run the .exe file generated by the compiler

    Output

    image

    opened by LoLXD8783 0
  • Python Implementation

    Python Implementation

    This is the python implementation of the multtable script. Uhh, yeah, simple as that. To run it, all you need to do is install Python itself. I made this script using Python 3.9.7, so I'm not sure what the oldest version of Python this is compatible with, but just get 3.9.7 since it's basically the latest version; Python 3.10 i've been told is kinda buggy, but don't quote me on that.

    Download for Python 3.9.7: https://www.python.org/downloads/release/python-397/ Download for any other Python Version: https://www.python.org/downloads/

    Once/if you download python, you can run the script by using IDLE, the built-in ""IDE"" that comes with the python installation (not sure if it comes with the Linux install). Just double click the script and it should open with IDLE: then, under "Run", click "Run Module", or alternatively, press F5.

    image

    opened by MutantWafflez 0
Owner
pollen__
Me when the
pollen__
A practice program to find the LCM i.e Lowest Common Multiplication of two numbers using python without library.

Finding-LCM-using-python-from-scratch Here, I write a practice program to find the LCM i.e Lowest Common Multiplication of two numbers using python wi

Sachin Vinayak Dabhade 4 Sep 24, 2021
A comparison of mesh generators.

This repository creates meshes of the same domains with multiple mesh generators and compares the results.

Nico Schlömer 29 Dec 12, 2022
A collection of Workflows samples for various use cases

Workflows Samples Workflows allow you to orchestrate and automate Google Cloud and HTTP-based API services with serverless workflows.

Google Cloud Platform 76 Jan 7, 2023
A collection of repositories used to realise various end-to-end high-level synthesis (HLS) flows centering around the CIRCT project.

circt-hls What is this?: A collection of repositories used to realise various end-to-end high-level synthesis (HLS) flows centering around the CIRCT p

null 29 Dec 14, 2022
Malicious Document IoC Extractor is a collection of scripts that helps extracting IoCs from various maldoc families.

MDIExtractor Malicious Document IoC Extractor (MDIExtractor) is a collection of scripts that helps extracting IoCs from various maldoc families. Prere

Malwrologist 14 Nov 25, 2022
navigation_commander is a ROS package to command the robot to navigate autonomously to each table for food delivery inside a hotel.

navigation_commander navigation_commander is a ROS package to command the robot to navigate autonomously to each table for food delivery inside a hote

ALEENA LENTIN 9 Nov 8, 2021
A Lego Mindstorm robot for dealing out cards based on a birds-eye view of a poker table and given ArUco fiducial tags.

A Lego Mindstorm robot for dealing out cards based on a birds-eye view of a poker table and given ArUco fiducial tags.

null 4 Dec 6, 2021
Table (Finnish Taulukko) glued together to transform into hands-free living.

taulukko Table (Finnish Taulukko) glued together to transform into hands-free living. Installation Preferred way to install is as usual (for testing o

Stefan Hagen 2 Dec 14, 2022
Create a program for generator Truth Table

Python-Truth-Table-Ver-1.0 Create a program for generator Truth Table in here you have to install truth-table-generator module for python modules inst

JehanKandy 10 Jul 13, 2022
Ellipitical Curve Table Generator

Ellipitical-Curve-Table-Generator This script generates a table of elliptical po

Nishaant Goswamy 1 Jan 2, 2022