Question: Problem 2 : Write a program that computes your PIN number from your birthdate that is entered as 2 integer values for day and month,
Problem : Write a program that computes your PIN number from your birthdate that is entered as integer values for day and month, respectively. The PIN number is computed as follows:
multiply the digits of the day multDay
add the digits of the month sumMonth
find the PIN number using multDay sumMonth.
print your PIN number.
Input Output Sample:
Enter the day and month: Your PIN number is
I need answer with c
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
