C# program credit card validation

this is for rookie programming class

as basic as possible

write C Sharpe console app NO ARRAYs

simple console application

Credit card validation Problem. A credit card number must be between 13 and 16 digits. It must start with:

–4 for visa cards

–5 for mater cards

–37 for American express cards

–6 for discover cards

•Consider a credit card number 4380556218442727

•Step1: double every second digit from right to left. If doubling of a digit results in a two-digit number, add up the two digits to get a single-digit number.

•Step2: now add all the single digit numbers from step1

4 + 4 + 8 + 2 + 3 + 1 + 7 + 8

•Step3: add all digits in the odd places from right to left in the card number

7+ 7 + 4 + 8 + 2 + 5 + 0 + 3 = 36

•Step4: sum the results from step 2 and step 3

37 + 36 = 73

•Step 5: if the results from step 4 is divisible by 10, the card number is valid; otherwise, it is invalid. In this case, the card number is not valid – because 75 not divisible by 10. use modulus operator

Use these numbers to help test your code. Hint, these examples do not test all possibilities!


Enter a credit card number as a long integer: 4321123200250

4321123200250 is invalid


Enter a credit card number as a long integer: 4388576018410707

4388576018410707 is valid

Taidot: C# -ohjelmointi

Näytä lisää: credit card affiliate program, call cener credit card sign program, validation check credit card expiry, simple card game program using java, card game program using java, day card designer program, magnetic card write program, flash based online card designer program, card java program, card poker program, shuffling card using program, card shuffle program, card shuffling program, card database program

Tietoa työnantajasta:
( 5 arvostelua ) marion, United States

Projektin tunnus: #13112321

41 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön


Hi I would be happy to help with your project :) I have over 12 years of experience with C# and .NET, I specialize in Windows applications and GUI design. I also have lots of experience with performing calculations and Lisää

$35 USD 1 päivässä
(90 arvostelua)

Hi there, I went through the requirements and I would like to do this project if given the opportunity. I've done similar programs before and I am not new to C# and credit card number validation. Let me know if you are Lisää

$30 USD 1 päivässä
(96 arvostelua)

Dear Client, My name is Miguel Febres and you can find my CV and certifications in the following links: [login to view URL] [login to view URL] I have many years of exper Lisää

$30 USD 1 päivässä
(14 arvostelua)

Maximum 1 hour task for me, can deliver best product surely. ................................ ............................................. ..............................................

$20 USD 1 päivässä
(67 arvostelua)

Hi, Please accept my bid so that I can start working. I have read and understand your requirement. Regards, Daniel Fabia

$15 USD 1 päivässä
(49 arvostelua)

As soon you accepted me that app will be done :) I just wait confirmation from you and i will write that . First i will make it , than you will accept me and pay me. Hope to contact me.

$15 USD 1 päivässä
(8 arvostelua)

Greetings! A team of Professional ASP.NET experts are at your service to provide you the best quality work in time and within budget. We are Proficient in: Asp.Net, C#, Asp.Net-MVC, SQL Server, Web APIs, Web Servic Lisää

$97 USD 2 päivässä
(7 arvostelua)

Hi, I read your project description and I can complete your project in few hours. Please contact me if interested. Regards, Mladen

$22 USD 2 päivässä
(4 arvostelua)

Dear Valued Customer I am a full time Senior Engineer developing Enterprise solutions in C++ and .Net Technologies for about 3+ years. I know all the minor details of N-layer Architecture Software Design, Design Patte Lisää

$30 USD 1 päivässä
(11 arvostelua)

I have more than 10 years experience in c#. If i win this bidding this will be my first project on freelancer. Because of this my first goal at this bidding to have good reviews from you.

$30 USD 1 päivässä
(2 arvostelua)
$100 USD 2 päivässä
(3 arvostelua)
$25 USD 1 päivässä
(5 arvostelua)

Hello. I can do it for you, not a problem. Have years of experience on .Net platform, both C# and VB.NET.

$20 USD 2 päivässä
(3 arvostelua)

We are team of professional web developers who work in all technologies. We always provide quality work within defined time and budget. We have read the description you provided and we want to work on your project and Lisää

$25 USD 1 päivässä
(1 arvostelu)

A proposal has not yet been provided

$15 USD 1 päivässä
(4 arvostelua)

I have 5 years of experaince as a web application developer developing web application using C# Sql.I have worked on html5 css3,javascript related libraries,angular js and jquery for past 2 years and have a goo Lisää

$30 USD 1 päivässä
(3 arvostelua)

Hi, I am professional software engineer especially in .NET so can do your job in C# easily with best performance and in a professional way..... I have 2 years of experience but here i am new. thanks, ***New but T Lisää

$30 USD 1 päivässä
(1 arvostelu)

I'm working with C# for the last 16 years and I already wrote a credit card validation routine for several ecommerce sites; I will double check your specification with my validation routine make some tests and send it Lisää

$25 USD 1 päivässä
(2 arvostelua)

Hi, i already got working CC checker console app prototype. Can give it to You instantly and make some small changes if needed.

$10 USD 1 päivässä
(0 arvostelua)

This is a simple program in which I can use a couple loops, which would allow me to avoid using arrays. No problem!

$25 USD 1 päivässä
(0 arvostelua)