can you help me to answer this problem...

A high building has 26 floors with the level 0 and the level 25 as the lowest and the highest level, respectively. It has a lift for transport the occupant to the level destination. The lift moves up and down in respect to the current lift position.
You are asked to write a simple lift program to simulate the movement of the building occupants in the lift. The lift moves only to one level destination either up or down depending on the destination. Initially the lift position is at ground level or level 0. After arriving at each destination level, the user is asked whether to continue using the lift or not. If yes, the lift will resume running from its current position or current floor level. Example of program running (user input in bold):
Destination level: 5
You are moving up:
Level 1
Level 2
Level 3
Level 2
Level 5
You have arrived. See you again.
Again? (y/n): y
Destination level: 3
You are moving down:
Level 4
Level 3
You have arrived. See you again.
Again? (y/n): y
Destination level: 3
You are already at level 3.
Again? (y/n): n
THANK YOU!

5
Contributors
6
Replies
10
Views
7 Years
Discussion Span
Last Post by sree_ec

help me to make a reciept using turbo c

Wow. While I'm sure this isn't a record, one lazy student asking for "help"[1] on an assignment followed immediately by another lazy student hijacking the thread asking for "help" on an unrelated assignment is a wonderful example of the present progression toward the fall of Daniweb.

[1] "Help", of course, being loser's slang for "do it for me so I don't have to think".

Yes please post what you have so far. We appreciate a little effort on your part.

Wow. While I'm sure this isn't a record, one lazy student asking for "help"[1] on an assignment followed immediately by another lazy student hijacking the thread asking for "help" on an unrelated assignment is a wonderful example of the present progression toward the fall of Daniweb.

[1] "Help", of course, being loser's slang for "do it for me so I don't have to think".

Better than crying about fouls, why the moderators / owner of this forum is not taking steps to prevent these things happening?
So many things can be done like,
1. locking threads automatically after a certain time period so that no one bumps it up
2. Flagging threads to be deleted if they are violating the rules and delete them
3. Even banning the member if too much violations are done after warnings are given
4. Educating a new member about rules by making it mandatory for them to read the rules thread before posting the first thread...

etc
etc

options are endless
and some strong steps can 'save' this very useful forum...

>Better than crying about fouls, why the moderators / owner of
>this forum is not taking steps to prevent these things happening?

You think it hasn't come up countless times? There are a lot of smart people around here, and all of the big names I can think of have offered ideas for improving matters.

I've concluded that Dani simply doesn't care about the quality of the forum, only the activity. More members means more money; driving away the trash and dead weight is counterproductive to that goal.

Edited by Narue: n/a

>Better than crying about fouls, why the moderators / owner of
>this forum is not taking steps to prevent these things happening?

You think it hasn't come up countless times? There are a lot of smart people around here, and all of the big names I can think of have offered ideas for improving matters.

I've concluded that Dani simply doesn't care about the quality of the forum, only the activity. More members means more money; driving away the trash and dead weight is counterproductive to that goal.

Then it is a hopeless case!!

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.