[SOLVED] IT 210 Programming Assignment 1

35.00 $

Category:

Description

5/5 - (1 vote)

Make your output look just like this. I will check with other 8-­‐digit numbers. The output below is from two runs. DO NOT loop to do multiple 8-­‐digit numbers in a single run. It is possible to do this assignment without using loops at all, however, your solution MUST use loops to calculate the sums.

Enter an 8-digit credit card number: 12345678

The number is not valid. The check digit should be: 4

Enter an 8-digit credit card number: 12345674 That number is valid.

Submit your program to the designated D2L drop box. Your program should be named PA1.py. For programming assignments, early submissions gain a bonus percent: 1 day early – 10%; 3 or more days early – 20%.