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 COMPARE THE TWO DATES GIVEN BY THE USER#include #include #include struct date { int dd; int mm; int yy; };date compare(date d1,date d2) { if (d1.dd { cout<<" 2nd date day is bigger "; } else if(d2.dd { cout<<" 1nd date day is bigger "; } else if(d1.dd==d2.dd) { cout<<" "; } if (d1.mm { cout<<" 2nd month is bigger "; } else { cout<<" 1nd month day is bigger "; } if(d1.yy>d2.yy) { cout<<" 1st date is bigger " ; } else if (d1.dd==d2.dd && d1.mm==d2.mm && d1.yy==d2.yy ); { cout<<" the dates are equal "; } if(d2.yy>d1.yy) { cout<<" 2nd date is bigger "; } }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; compare(d1,d2); }
Increment and Decrement Operators. The operator for increment is '++' and decrement is '-'. These operators enhances or decrease the value of a variable on which they are ope
The Preprocessor Directives A preprocessor directive which starts with a hash '#' ,is an instruction to the preprocessor, which acts on the source code before the compilation p
Inline functions, C++ provides inline functions to help reduce function_call overhead especially for small functions. The qualifier inline before function's return type in the f
write a c program to compute a padovan string
I have to make a program that allow the user input 10 numbers between 10 and 100 and if the number input is the same than the last number, should appear an error message. I have th
Write C code for a program that implements a digital clock (HH:MM:SS). The clock includes a two-digit hour indicator HH (00-23), a two-digit minute indicator MM (00-59), and a t
Train Station C++ Program A C++ program that provides a simple text based interface that will allow a user to create, edit, search, or delete a train schedule. The program will m
Ask4. Write a query to display the columns listed below. The query should list each customer in which the video rental is overdue. The Days_Overdue column should calculate the numb
Is friend function can be harmfull to make a secure program/sofware?
payment system, in c++ only..just use the printf or scanf.please
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