write a c++ program in which convert the number of days in number of years, remaining months and days.
Answers
Answered by
3
Answer:
program c++
1.using namespace std;
2.int main()
3.int y,d,w;
4.cout<<"Enter No. of days:";
5.cin>>d;
6.y=d/365;
7.d=d%365;
8.w=d/7;
Explanation:
please vote me thanks me also follow me
Similar questions