C# program credit card validation

Zamknięty Opublikowano 7 lat temu Płatność przy odbiorze
Zamknięty Płatność przy odbiorze

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

Programowanie w C#

Numer ID Projektu: #13112321

O projekcie

40 ofert Zdalny projekt Aktywny 7 lat temu

40 freelancerów złożyło ofertę za $25 w tym projekcie

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 Więcej

$30 USD w ciągu 1 dnia
(115 Oceny)
5.7
abhijitbuet

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

$20 USD w ciągu 1 dnia
(72 Oceny)
5.7
dvfabia

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

$15 USD w ciągu 1 dnia
(56 Oceny)
5.0
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 w ciągu 1 dnia
(10 Oceny)
4.0
mladenmp

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

$22 USD w ciągu 2 dni
(4 Oceny)
3.0
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 w ciągu 2 dni
(3 Oceny)
2.8
ratheeshkumar1

.C# Programmer With 7 years of development experience in Microsoft technologies! Technically I have extensive experience of following technologies – 1. .NET & Entity Framework 2. , C# and VB.NET., C and C++ Więcej

$25 USD w ciągu 1 dnia
(2 Oceny)
2.8
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 w ciągu 1 dnia
(2 Oceny)
2.9
Meccano7

A proposal has not yet been provided

$15 USD w ciągu 1 dnia
(4 Oceny)
2.0
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 Więcej

$25 USD w ciągu 1 dnia
(1 Ocena)
2.3
asimhussain26

Hello, I will code this program in 1 day. If you need any changes related to delivered account I will do that as well.

$20 USD w ciągu 1 dnia
(1 Ocena)
1.1
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 Więcej

$30 USD w ciągu 1 dnia
(2 Oceny)
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 Więcej

$25 USD w ciągu 1 dnia
(2 Oceny)
1.1
PhoenixLF

Hello. I`ve read all 5 steps and I`m ready to make this Więcej

$10 USD w ciągu 1 dnia
(0 Oceny)
0.0
Anilcanli

Hello, I have already finished your algorithm and it is working fine. If you accept me i will just send the console application with its source code. Greetings.

$20 USD w ciągu 0 dni
(0 Oceny)
0.0
iamsandeepgarg

A proposal has not yet been provided

$10 USD w ciągu 1 dnia
(0 Oceny)
0.0
jethvamohit

I will deliver it very quickly with quality code.

$15 USD w ciągu 1 dnia
(0 Oceny)
0.0
mswloch

A proposal has not yet been provided

$30 USD w ciągu 1 dnia
(0 Oceny)
0.0
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 w ciągu 1 dnia
(0 Oceny)
0.0
rehman932

Project requirements are clear. Have worked on multiple similar projects on Windows console and windows forms. C# .net Windows console app would be used (VS2015). Delivered project would be of high standard with mi Więcej

$15 USD w ciągu 1 dnia
(0 Oceny)
0.0