Find Jobs
Hire Freelancers

Astrology program

$15-20 USD

已完成
已发布将近 21 年前

$15-20 USD

货到付款
-This must be done in C++ not C. You are to create an Astrology program. The user will input a birthday will respond with the correct astrological sign for this birthday and a few words describing the characteristics of a person with that astrological sign. In the file [login to view URL] located on the network you will find a program that includes the messages for each astrological sign as string class objects. This file will also have an example for sending the information to the standard output device. The program you create will require a multi-way branch using either a switch or conditional ladder. Input the month and day of the birthday as two integers separated by a forward slash (Example: 12/1 for December, 1 or 9/27 for September, 27, mm/dd). As an improvement after you have the basic program working add a feature such that if the birthday is within 2 or 3 days of the first or end of the month that the birthday is on the ‘cusp’ and indicate what astrological sign is associated with the ‘cusp’. As a possible solution try to create or use an enumerated data type of the astrological signs using the names of each sign as the discreet value. I have attached astrological sign messages in the Deliverables section becuase I didn't have enough room to fit it. If you do not see it, Email me and I will send it to you. ## Deliverables 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. 3) Complete ownership and distribution copyrights to all work purchased. 4) Must be done in C++ not C. #include #include using namespace std ; // Dec 22 to Jan 19 string capricorn = "You are familiar with fashion and pleasure. Be wary you do not stray." ; // Jan 20 to Feb 18 string aquarius = "You are quick to respond to the needs of family and friends." ; // Feb 19 to Mar 20 string pisces = "You are easily deceived and misguided by others of questionable character." ; // Mar 21 to Apr 19 string aries = "You are eager to be involved in financial ventures, but must be self reliant." ; // Apr 20 to May 20 string taurus = "You are emotionally stable, but are easily excited by others." ; // May 21 to Jun 20 string gemini = "You are often distracted by obstacles not directly in your path." ; // Jun 21 to Jul 22 string cancer = "You are not very careful with valuables and often having deals backfire on you." ; // Jul 23 to Aug 22 string leo = "You are often stubborn and unreasonable with those who make demands on you." ; // Aug 23 to Sep 22 string virgo = "You are very family oriented and create good bonds with others." ; // Sep 23 to Oct 22 string libra = "You value information passed to you by friends and loved ones." ; // Oct 23 to Nov21 string scorpio = "You are uneasy with conflict and not good with disruptions in your schedule." ; // Nov 22 to Dec 21 string sagittarius = "You are wary of others and ask many questions." ; int main( void ) { cout << aries << endl ; return 0 ; } ## Platform This must work in a Windows enviroment.
项目 ID: 2933171

关于此项目

7提案
远程项目
活跃21 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
颁发给:
用户头像
See private message.
$1 USD 在14天之内
5.0 (7条评论)
2.2
2.2
7威客以平均价$10 USD来参与此工作竞价
用户头像
See private message.
$12.75 USD 在14天之内
3.6 (14条评论)
5.1
5.1
用户头像
See private message.
$12.75 USD 在14天之内
5.0 (14条评论)
4.0
4.0
用户头像
See private message.
$17 USD 在14天之内
4.9 (18条评论)
3.9
3.9
用户头像
See private message.
$14.45 USD 在14天之内
4.7 (11条评论)
2.4
2.4
用户头像
See private message.
$4.25 USD 在14天之内
5.0 (8条评论)
1.9
1.9
用户头像
See private message.
$6.80 USD 在14天之内
0.0 (0条评论)
0.0
0.0

关于客户

UNITED STATES的国旗
United States
5.0
6
会员自4月 17, 2003起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。