Talk About Network



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 > Decimals and nu...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 5 Topic 1072 of 1102
Post > Topic >>

Decimals and numbers

by Joe <joe@[EMAIL PROTECTED] > Dec 23, 2007 at 12:08 PM

+,* 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

Joe




 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 Tue May 13 18:48:26 CDT 2008.