Welcome to Dream.In.Code
Getting Help is Easy!

Join 136,491 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,713 people online right now. Registration is fast and FREE... Join Now!




Pseudocode and alghorithms cisp301

 
Reply to this topicStart new topic

Pseudocode and alghorithms cisp301, Pseudocode beginning solve please help

spider_min
29 Jan, 2008 - 03:10 PM
Post #1

New D.I.C Head
*

Joined: 29 Jan, 2008
Posts: 1

Bob's bicycle is aving a sale where all bicycle are 25%off. Design a program which calculates the final cost of a bicycle after taking the discount and taxes into consideration. Sales tax is 7.5%. Use constants for both the discount ate and the sales tax rate.

CODE


Define discount_price as .25
Define tax_price as .075
Declare bicycle_price,discount_price,tax_price as real

Display “Bob’s Bicycle price program”
Display “Enter Bicycle price”
Input bicycle_price
Display “25% discount price”
Set bicycle_amount=bicycle_price*discount_price
Display “Price included tax”
Set total_price=bicycle_amount*tax_price
Display “Total is $”,total_price,”!”



This all I just do mess up coz I have no i dea at all


Thank you for helping





another one

Display the surface area and volume of a cube using the lenfth of a side entered by the user.
al i gusess i know it was wrong

CODE

Define volume as 3

Display “ The surface of area and volume of a cube”
Display “Enter the Length ”
Input length
Set area=6*length^2
Display “The volume of a cube”
Input volume
Set volume=area^3
Display “





please help thank you
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 12/2/08 07:39PM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month