Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
/* THIS PROGRAM IS TO ASK USER TO INPUT TWO DATE & PRODUCE A NEW DATE */#include #include struct date { int dd; int yy; int mm; };date add(date d1,date d2) { date temp; temp.dd=d1.dd+d2.dd; temp.mm=d1.mm+d2.mm; temp.yy=d1.yy+d2.yy; if(temp.dd>=30) { temp.dd-=30; temp.mm++; } else if(temp.dd>=31) { temp.dd-=31; temp.mm++; } else if(temp.dd>=28) { temp.dd-=28; temp.mm++; } if(temp.mm>=12) { temp.mm-=12; temp.yy++; } return temp; }void main() { clrscr(); date d1,d2,ans; cout<<" enter the 1st date (dd/mm/yyyy) "; cin>>d1.dd; cin>>d1.mm; cin>>d1.yy; cout<<" enter the 2nd date (dd/mm/yyyy) "; cin>>d2.dd; cin>>d2.mm; cin>>d2.yy; ans=add(d1,d2); cout<<" new date:-"< }
Question 1 . Write a brief note on Aggregation Question 2 . Discuss briefly on constructors Question 3 . What are the important advantages of Inheritance? Question 4 .
Explain each of the algorithms in a way that would be understandable to an intelligent person who is not familiar with programming. You should not use any code (or even pseudo code
I started preparing an alternative cryptocurrency and I am way over my head. I would like help in making modifications to the open source files and then help with deployment. I wil
i need expression and its types with example programs in c++
Question 1: (a) Explain clearly the following concepts using suitable examples of your own:- (i) concrete class v/s abstract class (ii) constructor v/s over
I''m having trouble with my C code to red from a Hash table. Not sure what it is I''m doing wrong and stumped. I need to get it figured out by tomorrow at 4:00 p.m. Eastern time. C
Byteland county is very famous for luminous jewels. Luminous jewels are used in making beautiful necklaces. A necklace consists of various luminous jewels of particular colour. Nec
limitation of linear array
Project Description: I would like to be building regarding a complex mobile application build as we require the signing of an NDA. My firm in based in Montreal Canada and we are
Create a C language code, only one program, to implement the following task. Task: Write C code for a program that implements a digital clock (HH:MM:SS). The clock inclu
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +91-977-207-8620
Phone: +91-977-207-8620
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd