Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Question!


Name: khen
Title:
  simple calculator
Question:
Create a simple calculator where in the user chooses four basic math operations: multiply,add,subtract and divide. After choosing an operation, the user will enter two integers as operands of the chosen function. use switch case
Answers:

Name: yuku
# include <stdio.h>

int main() {

    char operator;
    double firstNumber,secondNumber;

    printf("Enter an operator ( , -, *,): ");
    scanf("%c",