Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Pascal Borland > Re: Decimals an...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 5 Topic 1072 of 1118
Post > Topic >>

Re: Decimals and numbers

by winston19842005 <bjjlyates@[EMAIL PROTECTED] > Dec 23, 2007 at 12:25 PM

On 12/23/07 12:08 PM, in article 13mt61e6jrttn88@[EMAIL PROTECTED]
 "Joe"
<joe@[EMAIL PROTECTED]
> wrote:

> +,* and -.
> 
> 
> var
> price,total,tax: interger;
> 
> write('Price    :  ');readln(price);
> write('Tax Rate :  ');readln(tax);
> 
> total:= price * tax;
> 
> write('Your total is : $', total);
> 
> Can some one tell me how to do this so that it works. Thanks


Total is Price + (Tax on the Price)...
(Tax on the Price) is price * tax...

See?
 




 5 Posts in Topic:
Decimals and numbers
Joe <joe@[EMAIL PROTEC  2007-12-23 12:08:35 
Re: Decimals and numbers
winston19842005 <bjjly  2007-12-23 12:25:19 
Re: Decimals and numbers
Jim Higgins <invalid@[  2007-12-24 01:10:29 
Re: Decimals and numbers
Joe <joe@[EMAIL PROTEC  2007-12-24 11:42:08 
Re: Decimals and numbers
Dr J R Stockton <jrs@[  2007-12-24 21:37:33 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Jul 26 0:15:40 CDT 2008.