Skip to content

CalculationCollective/VCalculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

VCalculator

Install Vlang

To install Vlang run the flowing commands.

git clone https://github.com/vlang/v;
cd v;
make # make.bat on Windows

Run the calculator

To run the calculator simply move to the folder containing the VCalculator.v file. and run this command:

v run VCalculator.v

Use the calculator

After executing the calculator you can enter the first number.

Enter the first number: 5 # 5 is the input

Then choose between the calculation functions.

Choose between:
1) Addition
2) Subtraction
3) Multiplication
4) Division
: 1 # < This is our input

We now can enter the second number

Enter the second number: 2 # 2 is the input

Now it should give the right output.

7 # 7 is the return value

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages