Question: please write it in a simple way with C++ program Problem 2 Lucky Number Write a program, in C++, to compute yours lucky number from

 please write it in a simple way with C++ program Problem
please write it in a simple way with C++ program

Problem 2 Lucky Number Write a program, in C++, to compute yours lucky number from your birthday that is entered as 3 integers represent the day, month, year respectively. The lucky number is computed as follows: i add the digits of the 3 integers and save them in a variable called otal find the remainder of dividing total by the month in your birthday that is your lucky number. print your lucky number. Sample input/output: Enter the day, month, and year: 14 6 1992 Your lucky number 1s 2

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!