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

  In this project you will create an application to run in

in this project you will create an application to run in the amazon ec2 service and you will also create a client that

  Imagine that your company has decided to expand to the web

imagine that your company has decided to expand to the web. you want to reuse some data entry code that has been

  1 here is a short program it prints out the value of a

1. here is a short program. it prints out the value of a variable x. ernie and bert disagree about what will be printed

  If the user wants to read the input from a file then the

if the user wants to read the input from a file then the output will also go into a different file. if the user wants

  Question 1we are given the following knowledge base of

question 1we are given the following knowledge base of travel informationnbspbycaraucklandhamilton.

  Basic requirementsscreen one has three edittext views and

basic requirementsscreen one has three edittext views and one button.the edittext views allow you to enter a students

  Create a application using the mvc architecture no

create a application using the mvc architecture. no scripting elements are allowed in jsp

  Rtl sa is a company which develops bespoke solutions for

rtl sa is a company which develops bespoke solutions for the rubber industry. they produce both rubber compound which

  Design a program that models the worms behavior in the

design a program that models the worms behavior in the subsequent scenarioa worm is moving toward an apple. each time

  Problem build a class for a type called fractionnbspthis

problem build a class for a type called fraction.nbspthis class is used to show a ration of two integers.nbsp include

  Part - 1 object-oriented designwrite a program that allows

part - 1 object-oriented designwrite a program that allows an instructor to keep a grade book. each students has scores

  Soda vending machine designnbsp design a soda vending

soda vending machine designnbsp design a soda vending machine that can deliver three kinds of soda a b and c. allnbsp

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