Standard calculatortask write a windows application in

Assignment Help Application Programming
Reference no: EM13380099

Standard Calculator

Task: Write a windows application in Visual Basic to perform functions of a standard calculator

Description: Figure 1 shows standard calculator that comes with the Windows 7 operating system. The calculator allows a user to eater numeric values via the 0.9 keysibuttoas. Arithmetic functions such as. add. subtract. multiply. and divide can then be performed on the numeric data. Details of the arithmetic functions are shown in Table 1. Write a Windows application in VB to mimics the Windows 7 calculator. Use text box controls to display the operation being performed and the resulting answer. Sample screen shot of your calculator is shown in Figure 2.

295_Standard Calculator.png

 

Function

Button

Points

Description

1

End

2

End the program

2

C

2

Clean all values

3

CE

2

Clears the number displayed in the textbox

4

MC

2

Clean the number stored in memory

5

MR

2

 

Recalls the number stored in memory. The number remains in memory

6

MS

2

Stores the displayed number in memory

7

M+

2

Adds the displayed number to the number in memory

8

M-

2

Subtracts the displayed number from the number in memory

9

M

2

Displays red background when a number is in memory

10

0-9

2

Enters digits 0-9 and "."

11

/

5

Divides the previous number by the displayed number

12

11

5

Multiplies the previous number by the displayed number

13

-

5

Subtracts the previous number from the displayed number

14

+

5

Adds the previous number to the displayed number

15

+/-

5

Changes the sign of the displayed number

16

sqn

5

Calculates the square root of the displayed number

17

St

5

Enter a number. click an operator (+, -. *. or)). enter the second number. click %. and then click =. For example. 100 + 10% = 110. 100-10%=90. 100*10%=1000. and 100/10b= 10

18

1/x

5

Calculates reciprocal of the displayed number

19

=

5

Performs appropriate arithmetic operations

 

Reference no: EM13380099

Questions Cloud

D a plan to integrate the different routing : design a plan to integrate the different routing protocols into a new network design for genome4us lab.identify
Write a java program to read sequences of integers from a : write a java program to read sequences of integers from a text file build a binary search tree for each sequence by
1 describe the following named usability design principles : 1. describe the following named usability design principles and how you applied them in your coursework? consistency
Statistical calculatortask write a windows application in : statistical calculatortask write a windows application in visual basic to perform functions of standard and statistical
Standard calculatortask write a windows application in : standard calculatortask write a windows application in visual basic to perform functions of a standard
Given a 5 b 1 x 10 and y 5 create a program that : given a 5 b 1 x 10 and y 5 create a program that outputs the result of the formula f a bxy using a single printf
Q1- architecting web-applications using web-services has : q1- architecting web-applications using web-services has advantages. forexample you can gain increased security.
A write a pseudocodefunction that will delete from an : a. write a pseudocodefunction that will delete from an unsorted linked list of integers the node that contains the
1 what does it mean to say that a programming language is : 1. what does it mean to say that a programming language is machine independent?2. name and describe four different

Reviews

Write a Review

Application Programming Questions & Answers

  Questiona illustrate how components listed below should be

questiona illustrate how components listed below should be registered in a program-i jbutton ii jcombobox b

  The file below this drop winetxt contains the records from

the file below this drop wine.txt contains the records from a wine data file.the 5 fields in each row arethe wine

  Tavelling salesman tsp problem on the l1-metric plane

travelling salesman tsp problem on the l1-metric plane problem description a travelling salesman wants to make a tour

  Part a write a program to evaluate the first 20 numbers of

part a write a program to evaluate the first 20 numbers of fibonacci series. use the stack memory to store the

  Assignment 1- part aobject-oriented analysisobject-oriented

assignment 1- part aobject-oriented analysisobject-oriented analysis involves the following steps4. describe use cases.

  1 create a multi-view program for the iphonecreate a

1 create a multi-view program for the iphonecreate a program that involves multi-views. the main view should contain a

  Cputer architecture question 1 evaluate 0xf00 0x100

computer architecture question 1 evaluate 0xf00 0x100 ? express the answer in hex notation. question 2 suppose

  Discussion htmlcssjavascript placementnbspplease respond to

discussion htmlcssjavascript placementnbspplease respond to the followingcompare and contrast the process of adding

  Problem 1nbsp in a town the percentage of men is 52the

problem 1nbsp in a town the percentage of men is 52.the percentage of total literacy is 48. if total percentage of

  Problems1the file myinputfiletxt is an encrypted file your

problems1.the file myinputfile.txt is an encrypted file. your assignment is to decrypt this file and hopefully answer

  The increasing need to travel and lifestyle changes of

the increasing need to travel and lifestyle changes of society has made airlines industry one of the most demanded and

  Memory location 2000h has the word 5000h stored in it what

memory location 2000h has the word 5000h stored in it. what does each location contain after inc byte ptr2000h. also

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd