Skip to content

sandradominic/First-C-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

First-C-project

Calculator

I have made a basic ,simple calculator using c programming . This calculator can do basic

  • Addition
  • Subtraction
  • Multiplication
  • Division
  • Square root
  • logrithm
  • Modulus
  • power

I have used switch,break mechanism in this ie

switch(choice) {

case 1:

printf("You chose ONE");
break;

case 2:

printf("You chose TWO");
break;

default:
printf("Invalid choice");
}

I have also provided looping system therefore the person can compute as many numbers as they want.

Thankyou for reading

About

Calculator

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages