Programming With Microsoft Visual Studio 2010? One of your smaller …

Comment on An Amazing Memory Enhancing Game Memory Hawk Developed By Dev IT Solutions For Android Is Now Available For Download … by CuddleWolf.

With Visual Studio 2010? One of your smaller customers needs your help writing a program. Your customer has an e-commerce Web site but wants to avoid being sued for allowing children to make purchases without the authorization of their parents. Using the 6 steps of problem solving, create a program to verify the age of a customer wishing to make an online purchase. The customer will enter his or her year of birth, and your program will calculate whether the customer is more than 18-years old. The program will then display a message to the customer that his or her purchase request is accepted or denied.

Your solution must include the following 5 parts in addition to the coded solution:

A problem analysis chart with each of the following sections:
Given information
Required results
Processing required to obtain the results
Solution alternatives
A flowchart showing the program processing flow
A chart showing input, output, and processing
An algorithm in pseudo code describing the steps the program will perform
A description in 4–6 paragraphs of how each of the 6 problem-solving steps was addressed

What you read above is an idea of what I have to do? What is shown below is what I have so far? However, I am stuck with being able to code the rest of the program for it to calculate whether the person is 18 years of age or not. Right now it is in the Console Application with no errors. Can anyone assist me in writing the rest of the codes? Please?

Console.Out.WriteLine(“Please enter the year you were born”);
Int32 age = DateTime.Now.Year – Convert.ToInt32(Console.ReadLine());if(age>18)
Console.Out.WriteLine(“You are approved to make a purchase.”);else
Console.Out.WriteLine(“You are not approved to make a purchase.”);
Is the code above enough for this work? I have already done all the charts and layout, just unsure if this is all that’s needed for the code.

NetMarketZine is an officially authorized and remunerated associate for recommending high quality s found on this website. Links on this website may be associate links which means if you click on a link of a recommended , I/we may receive monetary compensation. However, this does not affect any unbiased information presented on this website. The owner of this website is a participant in the Amazon Ser LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon properties including, but not limited to, amazon.com, endless.com, myhabit.com, smallparts.com, or amazonwireless.com. Additional affiliate programs and networks may include Avantlink, CJ, , Walmart, BestBuy, AliExpress, and others.
Editor
 
Next Post
fly-1913170_960_720
General

Choosing the Best Pest Control Service Online