Home » Other » Training & Certification » Zodiac sign program
icon9.gif  Zodiac sign program [message #246083] Tue, 19 June 2007 17:54 Go to next message
allthat
Messages: 5
Registered: June 2007
Location: pakistan
Junior Member


Write a program that have no table
program output looks like

========================================================
Enter your date of birth: 30-10-1984
You are 23 years old and you are libra
========================================================
Re: Zodiac sign program [message #246084 is a reply to message #246083] Tue, 19 June 2007 18:04 Go to previous messageGo to next message
DreamzZ
Messages: 1666
Registered: May 2007
Location: Dreamzland
Senior Member
Quote:
Write a program that have no table
program output looks like


So you need the program?

wheres your code?

I have that program in c++ if you wants..
Re: Zodiac sign program [message #246102 is a reply to message #246083] Tue, 19 June 2007 23:16 Go to previous messageGo to next message
Michel Cadot
Messages: 68729
Registered: March 2007
Location: Saint-Maur, France, https...
Senior Member
Account Moderator
Welcome to the forum.

First, read and follow How to format your posts and How to get a quick answer to your question: TIPS AND TRICKS
Break your lines to max 80-100 characters when you format.
Please always post your Oracle version.

Next, we don't do your homework for you but we can help you.
Post what you already tried and we'll tell you how to go on.

Regards
Michel
Re: Zodiac sign program [message #246109 is a reply to message #246083] Wed, 20 June 2007 00:28 Go to previous messageGo to next message
Littlefoot
Messages: 21823
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Khm, but I'm not 23 and my zodiac sign is monkey.
Re: Zodiac sign program [message #246125 is a reply to message #246109] Wed, 20 June 2007 01:08 Go to previous messageGo to next message
Michel Cadot
Messages: 68729
Registered: March 2007
Location: Saint-Maur, France, https...
Senior Member
Account Moderator
As I am. Cool

Michel

[Updated on: Wed, 20 June 2007 01:08]

Report message to a moderator

Re: Zodiac sign program [message #246156 is a reply to message #246125] Wed, 20 June 2007 02:24 Go to previous messageGo to next message
Littlefoot
Messages: 21823
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
/forum/fa/2630/0/
Re: Zodiac sign program [message #246330 is a reply to message #246156] Wed, 20 June 2007 11:26 Go to previous messageGo to next message
DreamzZ
Messages: 1666
Registered: May 2007
Location: Dreamzland
Senior Member
Laughing
Re: Zodiac sign program [message #246345 is a reply to message #246084] Wed, 20 June 2007 12:33 Go to previous messageGo to next message
allthat
Messages: 5
Registered: June 2007
Location: pakistan
Junior Member

yes please send me the code
Re: Zodiac sign program [message #246346 is a reply to message #246345] Wed, 20 June 2007 12:39 Go to previous messageGo to next message
Michel Cadot
Messages: 68729
Registered: March 2007
Location: Saint-Maur, France, https...
Senior Member
Account Moderator
Why do you post this question in an Oracle forum if you want a C++ program?

Regards
Michel
Re: Zodiac sign program [message #246536 is a reply to message #246346] Thu, 21 June 2007 04:19 Go to previous messageGo to next message
allthat
Messages: 5
Registered: June 2007
Location: pakistan
Junior Member

this program is write in PL/SQL not in C++ if you have any idea to write please send me or if you wirte program in PL/SQL i shall be very thankful to you.
otherwise i consider senior PL/SQL programmer will help junior to boost up.
Re: Zodiac sign program [message #246565 is a reply to message #246536] Thu, 21 June 2007 05:45 Go to previous messageGo to next message
Littlefoot
Messages: 21823
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
It is simply because YOU have to try to do that. It isn't a senior member's job to write your homework (or whatever it is). We (I mean OraFAQ Forum members, junior/senior really doesn't matter here) can help you if your code doesn't work for some reason, but do not expect us to do it for you. Though, there are good people all around and you might eventually bump into one of them and he/she/they will write the code for you, but - don't hold your breath. You might turn blue.
Re: Zodiac sign program [message #246732 is a reply to message #246565] Thu, 21 June 2007 13:11 Go to previous messageGo to next message
Frank
Messages: 7901
Registered: March 2000
Senior Member
Since nobody seems willing to help you, I will help you out.
The code
prompt ========================================================
accept date_of_birth prompt 'Enter your date of birth: '
prompt You are 23 years old and you are libra
prompt ========================================================


The output (Note: NO table used, as required!)
========================================================
Enter your date of birth: 30-10-1984
You are 23 years old and you are libra
========================================================
SQL>
Re: Zodiac sign program [message #246738 is a reply to message #246732] Thu, 21 June 2007 13:20 Go to previous message
Michel Cadot
Messages: 68729
Registered: March 2007
Location: Saint-Maur, France, https...
Senior Member
Account Moderator

/forum/fa/1587/0/

Previous Topic: Linux Training in the US
Next Topic: Oracle & Linux Training in the US
Goto Forum:
  


Current Time: Sun Dec 29 04:19:13 CST 2024