Question: write a c++ code that takes a variable (sum) and a (start year) and (end year) and gives all the dates that if we add
write a c++ code that takes a variable (sum) and a (start year) and (end year) and gives all the dates that if we add their numerical values to each other gives their (sum). For Example: input: sum=11 , start Year=2022 , end Year= 2023 output: 22/01/2022 ..... .... .... .... all the dates that if we add their numerical values their sum will be 11 22/01/2022 ( 2+2+0+1+2+0+2+2)= 11
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
