Microsoft Visual Basic 6.0 for PC Logo
Posted on Jul 06, 2009
Answered by a Fixya Expert

Trustworthy Expert Solutions

At Fixya.com, our trusted experts are meticulously vetted and possess extensive experience in their respective fields. Backed by a community of knowledgeable professionals, our platform ensures that the solutions provided are thoroughly researched and validated.

View Our Top Experts

CALCULATOR CODE simple calculator code - Microsoft Visual Basic 6.0 for PC

  • Anonymous May 11, 2010

    Give my code a try. Post here if you got any errors. Hope it helps.

×

2 Answers

Anonymous

Level 2:

An expert who has achieved level 2 by getting 100 points

MVP:

An expert that got 5 achievements.

Vice President:

An expert whose answer got voted for 100 times.

Sergeant:

An expert that has over 500 points.

  • Expert 220 Answers
  • Posted on Jul 06, 2009
Anonymous
Expert
Level 2:

An expert who has achieved level 2 by getting 100 points

MVP:

An expert that got 5 achievements.

Vice President:

An expert whose answer got voted for 100 times.

Sergeant:

An expert that has over 500 points.

Joined: Jun 20, 2009
Answers
220
Questions
0
Helped
88712
Points
738

Anonymous

Level 3:

An expert who has achieved level 3 by getting 1000 points

All-Star:

An expert that got 10 achievements.

MVP:

An expert that got 5 achievements.

President:

An expert whose answer got voted for 500 times.

  • Master 1,566 Answers
  • Posted on Jul 20, 2009
Anonymous
Master
Level 3:

An expert who has achieved level 3 by getting 1000 points

All-Star:

An expert that got 10 achievements.

MVP:

An expert that got 5 achievements.

President:

An expert whose answer got voted for 500 times.

Joined: Apr 20, 2007
Answers
1566
Questions
0
Helped
386352
Points
4966

#include<stdio.h>
main()
{
int n1,n2;
int sum,diff,mul,div;
printf("Calculator Menu");
printf("1. Addition");
printf("2. Subtraction");
printf("3. Multiplication");
printf("4. Division");
printf("Please choose from the following:[1,2,3,4] ");
scanf("%d",&choice");
if (choice==1)
{
printf("SUM: %d",sum);
}
else
if (choice==2)
{
printf("DIFFERENCE: %d",diff);
}
else
if (choice==3)
{
printf("PRODUCT: %d",mul);
}
else
if (choice==4)
{
printf("DIVIDEND: %d",div);
}
printf("Enter 1st number: ");
scanf("%d",&n1);
printf("Enter 2nd number: ");
scanf("%d",&n2);
sum=n1+n2;
diff=n1-n2;
mul=n1*n2;
div=n1/n2;
}

Ad

Add Your Answer

×

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

0helpful
1answer

I forgot my code

If you don't mind resetting memory, start with the calculator turned off, press and hold the ON key, then press the F1 and F6 keys simultaneously, then release all three keys.
0helpful
1answer

DCT4 CALCULATOR

Instead of using the calculator,you can use the Unlock code that is best and simple to unlock the mobile phone from Network lock,Get the DCT unlock service from here Classicunlocking.com
1helpful
1answer

I need a calculator program (both simple and scientific calculator) by using jdk1.3

open lnik and download coding.....

http://www.planet-source-code.com/vb/scripts/ShowCodeAsText.asp?txtCodeId=2056&lngWId=2


1helpful
1answer
0helpful
1answer

No decimal on my calculator

i want to create a simple calculator using (0-9. add, subtract, multiply, divition, dot, equals ) this keys can u tell me which code i use to create this type of calculator.
5helpful
2answers

Please i want source code calculator using asp.net

i want the source code for simple calculater in asp.net
0helpful
1answer

TEXAS INSTRUMENTS BA-11

Press "2nd" then "fix" (Mode). This will get you back into the Fin mode.

[email protected]
1helpful
1answer
13helpful
4answers
Not finding what you are looking for?

434 views

Ask a Question

Usually answered in minutes!

Top Microsoft Computers & Internet Experts

Grand Canyon Tech
Grand Canyon Tech

Level 3 Expert

3867 Answers

k24674

Level 3 Expert

8093 Answers

Brad Brown

Level 3 Expert

19187 Answers

Are you a Microsoft Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...