|
|
#1 (permalink) |
|
Silver Member
![]() Join Date: Sep 2005
Age: 21
Posts: 114
|
Problem with flow chart drawing?
I have this assignment on drawing this code and i ws wondering if someone can help me. I kind of have an idea on how to start it start if temperature is greater than 65 degrees then get cotton pajamas else get flannel pajamas endif put on pajamas if tomorrow is a school day then set alarm clock endif while thirsty drink water endwhile while teeth need brushing brush teeth endwhile go to bed stop |
|
|
|
|
|
#2 (permalink) | ||||
|
Platinum Member
![]() Join Date: May 2008
Location: IASI, ROMANIA
Posts: 966
|
LOL
However, openoffice tells me flowchart.doc is corrupted
__________________
Quote:
Quote:
Quote:
Quote:
Original words spoken by my 63 year old class master... We call them pearls... How do you call them?
|
||||
|
|
|
|
|
#3 (permalink) |
|
Moderator - F@H Guru
![]() Join Date: Aug 2007
Location: Northern Cali
Age: 28
Posts: 4,725
|
Tried to open it in Word, and was told it needed to convert the file. Don't feel like digging out my Office disk.
__________________
Q9450 @ 3.4 GHz || Zalman CNPS9700 ASUS Rampage Formula XFX GTX 280 4GB Ballistix Tracer @ 850 MHz 2X 150GB WD Raptors (RAID 0) 1TB Hitachi Deskstar Antec Nine Hundred Case 750W Quad Silencer FOLDING FOR THE GOOD OF MANKIND:F@H Team 44358 || Team Stats || My Stats || Hardware Contributions: GTX 280/PS3/P4 |
|
|
|
|
|
#4 (permalink) | ||||
|
Platinum Member
![]() Join Date: May 2008
Location: IASI, ROMANIA
Posts: 966
|
hmmmmmm....looks pretty good when opened with notepad...I think i understand something
__________________
Quote:
Quote:
Quote:
Quote:
Original words spoken by my 63 year old class master... We call them pearls... How do you call them?
|
||||
|
|
|
|
|
#5 (permalink) |
|
Diamond Member
![]() Join Date: Oct 2006
Location: The Peoples Republic of Nae Butta!
Age: 17
Posts: 2,371
|
Why are you using WHILE when it's an iterative? Unless you have to brush your teeth multiple times then I'd have said that a boolean IF statement would work. This is assuming you'd use sub-procedures to brush your teeth and drink water. Whiles are best for multiple iterations whereas I'd guess you'd only brush your teeth once.
Unless you had OCD.
__________________
Intel Core 2 Duo E6300 @ 2.8GHz | Gigabyte EP43-DS3L | GeIL 3GB PC2-6400 | BFG GeForce 8800GT 512MB OC | Seagate 500GB 7200.11 SATA | Western Digital 250GB SE16 SATA | Coolermaster CM690 | Corsair HX520W
AMD Athlon 64 3800+ @ 2.4GHz | 2GB Samsung PC2-5300 | LeadTek 7300GS 256MB | Western Digital 80GB SATA |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Subnetting | houssam_ballout | Computer Networking and Servers | 16 | 12-16-2005 09:53 AM |