# Visual Basic Calculator

here is the brief

Complete the provided calculator code by searching for 'ADD CODE HERE comments.

Alter the code in InsertNextNumber() so that new digits are appended to the end of the number. Any digit added before the decimal point (indicated by the fbDot boolean flag) raises the original number by a power of 10, and any number after it forms a new decimal position using a fractional value.

| fbDot | Boolean flag - True if decimal point has been added |

| fdFraction | Fractional value, starts at 0.1 when decimal point has been pressed. |

| ldNewFraction | Fractional value to be added to the number. |

| fdNewValue | The new number being entered. |

| pdNumber | The digit being entered. |

? Also add the code in cmdMemoryClear_Click, cmdMemoryPlus_Click, cmdMemoryRecall_Click, and cmdMemorySet_Click subprocedures to store the entered number (fdNewValue). You will need to create a variable to store the entered number, and if a value is being stored then an "M" should be displayed in the lblMemory Label control.

Memory Set - stores the value displays "M"

Memory Clear - clears the stored value clears the "M"

Memory Plus - add the new value to the memory

Memory Recall - reads the stored value (replaces the number in fdNewValue)

Hint:

The variable type you'll need is Double called xdMemory, where x is a character representing the scope.

What variable scope will the variable require?

What's the first letter x of the variable name you'll need?

Check Program -> Accessories -> Calculator to see how this works.

ONCE A BID HAS BEEN ACCPTED I WILL SEND THE PROGRAM AND AREAS WHERE THE CODE HAS TO BE ENTERED

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request.

3) Exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).

## Platform

Win 98

Visual Basic 6

( 12 comentários ) United Kingdom

ID do Projeto: #3094327

## Concedido a:

stolevw

See private message.

\$1 USD em 2 dias
(28 Comentários)
2.6

## 5 freelancers estão ofertando em média \$3 para esse trabalho

amunsol

See private message.

\$4.25 USD in 2 dias
(99 Comentários)
7.0
vasanthmanickam

See private message.

\$4.25 USD in 2 dias
(7 Comentários)
2.9
intekhabvw

See private message.

\$3.4 USD in 2 dias
(9 Comentários)
2.2

See private message.

\$4.25 USD in 2 dias
(0 Comentários)
0.0