# programming formula

Page 1 of 1

## 1 Replies - 8052 Views - Last Post: 21 September 2007 - 01:59 PMRate Topic: //<![CDATA[ rating = new ipb.rating( 'topic_rate_', { url: 'http://www.dreamincode.net/forums/index.php?app=forums&module=ajax&section=topics&do=rateTopic&t=33746&amp;s=c33692881470646e0db36ab53ac3ce76&md5check=' + ipb.vars['secure_hash'], cur_rating: 0, rated: 0, allow_rate: 0, multi_rate: 1, show_rate_text: true } ); //]]>

### #1 batt336

Reputation: 0
• Posts: 1
• Joined: 21-September 07

# programming formula

Posted 21 September 2007 - 01:17 PM

a= m+ 5(m+1) 1/8 / 2d-4

c= n - 100

if 2d-4 is zero display: "cannot divide by zero"
if m+1 is negative display: "cannot evaluate the root of a negative number"
show the answer for A and C as complete expressions

This post has been edited by batt336: 21 September 2007 - 01:20 PM

Is This A Good Question/Topic? 0

## Replies To: programming formula

### #2 Jayman

• Student of Life

Reputation: 421
• Posts: 9,532
• Joined: 26-December 05

## Re: programming formula

Posted 21 September 2007 - 01:59 PM

Please post the code that you have completed in your effort to fulfill your assignment. We will not do your homework for you.