Introduction提交时注意作业的提交要求要求没有使用函数等教程中没有涉及到的知识。RequirementCS 100 Project Two – Spring 2017Project Overview: Part of college is maintaining a reasonable social life. Part of maintaining a reasonable social lifeis remembering when basic holidays are approaching and what to do for that holiday. For example, Valentine’s Dayis February 14. You need to decide if you are getting any gifts for any of your friends or family. Fortunately, you arein CS 100, so you can write a program to make these decisions for you. Your program should follow the flowchartshown on the next page.This program will prompt the user for several inputs. It then tells the user what to do (what gift to give). Two sampleexecutions of the program are shown below, with the program prompts in blue and the user responses in red.Who is getting the gift? familyWhich family member? siblingDid they ever beat you up? yesDid you deserve it? yesGet them a funny Valentine’s Day card!Who is getting the gift? friendWhat type of friend? childhoodDo you still talk to them? yesDid you ever date them? noYou do not need to get them anything!You can assume the user will always enter legal input. Every input will be one of the lowercase words shown below,and each input will be one of the expected answers to the respective question.family friend parent sibling other childhood collegesometimes young old yes noThe exact wording of the prompts is up to you. You can customize them as you want as long as you maintain theexisting flowchart functionality.What You Need To Do• Create a directory project2 on your machine. In that directory, create a file named valentine.c• In valentine.c, write the code needed to implement the “gift” flowchart. Make sure that you:o Have a header block of comments that includes your name and a brief overview of the program.o Prompt the user for input and make a recommendation based on that input.o Prints the expected output in a clear, legible format, such as: Do nothing for this person Get this person a funny Valentine’s card Get this person something nice (chocolate or flowers)• You may assume that all input is lowercase and legal and answers the specific question that was asked.• There are eighteen possible paths through this flowchart. You can see where each of the paths should lead.Make sure that your program works for all possible paths through the flowchart.• Bundle your project2 directory into a single (compressed) zip file. To do this:o PC: Using Windows Explorer, right click on the project2 directory and select “Send To” and then“Compressed (zipped) folder” If you are using Cygwin, your directory is probably in c:/cybwin64/home/userid If you are using Bash, it is probably in c:/Users/userid/AppData/Local/lxss/home/userido Mac: Using Finder, use a secondary click on the project2 directory and select “Compress foldername”• Once you have a compressed zip file that contains your project2 code, submit that file to Blackboard.Project2 is due at 5:00pm on Friday, February 10. Late projects are not accepted.本团队核心人员组成主要包括硅谷工程师、BAT一线工程师,精通德英语!我们主要业务范围是代做编程大作业、课程设计等等。我们的方向领域:window编程 数值算法 AI人工智能 金融统计 计量分析 大数据 网络编程 WEB编程 通讯编程 游戏编程多媒体linux 外挂编程 程序API图像处理 嵌入式/单片机 数据库编程 控制台 进程与线程 网络安全 汇编语言 硬件编程 软件设计 工程标准规等。其中代写编程、代写程序、代写留学生程序作业语言或工具包括但不限于以下范围:C/C++/C#代写Java代写IT代写Python代写辅导编程作业Matlab代写Haskell代写Processing代写Linux环境搭建Rust代写Data Structure Assginment 数据结构代写MIPS代写Machine Learning 作业 代写Oracle/SQL/PostgreSQL/Pig 数据库代写/代做/辅导Web开发、网站开发、网站作业ASP.NET网站开发Finance Insurace Statistics统计、回归、迭代Prolog代写Computer Computational method代做因为专业,所以值得信赖。如有需要,请加QQ:99515681 或邮箱:99515681@qq.com 微信:codehelp
网友评论