# 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!

SAMPLE RUN:

Enter a credit card number as a long integer: 4321123200250

4321123200250 is invalid

SAMPLE RUN:

Enter a credit card number as a long integer: 4388576018410707

4388576018410707 is valid

Kĩ năng: Lập trình C#

Về Bên Thuê:
( 5 nhận xét ) marion, United States

ID dự án: #13112321

## 41 freelancer đang chào giá trung bình \$25 cho công việc này

ta0soft

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 Thêm

\$35 USD trong 1 ngày
(90 Nhận xét)
6.1
it2051229

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 Thêm

\$30 USD trong 1 ngày
(96 Nhận xét)
5.5
qprotex

Dear Client, My name is Miguel Febres and you can find my CV and certifications in the following links: [url removed, login to view] [url removed, login to view] I have many years of exper Thêm

\$30 USD trong 1 ngày
(14 Nhận xét)
5.4
abhijitbuet

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

\$20 USD trong 1 ngày
(67 Nhận xét)
5.6
dvfabia

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

\$15 USD trong 1 ngày
(49 Nhận xét)
4.8
marko04

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 trong 1 ngày
(8 Nhận xét)
4.0
Agiletechstudio

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 Thêm

\$97 USD trong 2 ngày
(7 Nhận xét)
3.6

\$22 USD trong 2 ngày
(4 Nhận xét)
3.0
SahibYar

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 Thêm

\$30 USD trong 1 ngày
(11 Nhận xét)
3.3
ercanoz

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 trong 1 ngày
(2 Nhận xét)
2.9
\$100 USD trong 2 ngày
(3 Nhận xét)
2.8
\$25 USD trong 1 ngày
(5 Nhận xét)
2.7
nzeemin

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

\$20 USD trong 2 ngày
(3 Nhận xét)
2.4
itsjunaid421

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 Thêm

\$25 USD trong 1 ngày
(1 Nhận xét)
2.1
Meccano7

A proposal has not yet been provided

\$15 USD trong 1 ngày
(4 Nhận xét)
2.1
abhishekmodgi

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

\$30 USD trong 1 ngày
(3 Nhận xét)
1.6
BubleTech

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 Thêm

\$30 USD trong 1 ngày
(1 Nhận xét)
1.1
Alvarommp

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 Thêm

\$25 USD trong 1 ngày
(2 Nhận xét)
1.1
soj47

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 trong 1 ngày
(0 Nhận xét)
0.0
dcwheale

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 trong 1 ngày
(0 Nhận xét)
0.0