```<html>
<title>math</title>
<script type= "text/javascript ">
<!--
function oper()
{
switch(ch)
{
case 1:var v1=parseInt(prompt( "Enter the first value "));
var v2=parseInt(prompt( "Enter the second value "));
var v3=v1+v2;
break;
case 2:var v4=parseInt(prompt( "Enter the first value "));
var v5=parseInt(prompt( "Enter the second value "));
var v6=v4-v5;
document.writeln( "<br> "+ "Subtraction: "+v6);
break;
case 3:var v7=parseInt(prompt( "Enter the first value "));
var v8=parseInt(prompt( "Enter the second value "));
var v9=v7*v8;
document.writeln( "<br> "+ "Multiplication:  "+v9);
break;
case 4:var v10=parseInt(prompt( "Enter the first value "));
var v11=parseInt(prompt( "Enter the second value "));
var v12=v10/v11;
document.writeln( "<br> "+ "Divison: "+v12);
break;
case 5:var v13=parseInt(prompt( "Enter the first value "));
var v14=parseInt(prompt( "Enter the second value "));
var v15=v13%v14;
document.writeln( "<br> "+ "Modulus: "+v15);
break;
default: document.writeln( "Enter choice correctly ");
}

}
</script>
</html>
```

OUTPUT:

11395

6359

5339

5006

4792

4484

# FlowCharts

#### Flowchart to Perform Arithmetic Operations Using Switch

| Raptor Flowcharts
Hits: 10000
You can access the complete Algorithm and Program for the Arithmetic operations in c.

#### Flowchart to Find Roots of Quadratic Equation

| Raptor Flowcharts
Hits: 8078
C Program to Find Roots of a Quadratic Equation and Java Program to Find Roots of a Quadratic Equation. Right Click...

#### Raptor Flow Chart to Print All the Numbers up to a Given Number

| Raptor Flowcharts
Hits: 4532
Raptor Flow Chart to Print All the Numbers up to a Given Number. RAPTOR is a flowchart-based programming environment, designed...

#### Flow Chart for Two's Complement of a Binary Number Using Functions in C

| Raptor Flowcharts
Hits: 5552
We already written a program for the two's complement using C-Programming. This program is a combination of many user defined...

#### Raptor Flow Chart to Find Biggest of Two Numbers

| Raptor Flowcharts
Hits: 6400
Raptor Flow Chart to Find Biggest of Two Numbers. RAPTOR is a flowchart-based programming environment, designed to help students to...

### C++ Code To Implement Singly Linked List

We will provide you Codes for C, C++, Java, Python, Web Technologies and many more

# Submit Your Code to Share with other Friends

Signup to programming9.com