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 A DATE & ALSO ASK FOR DAYS TO BE ADDED TO PRODUCE
#include #include struct date { int dd; int yy; int mm; };void main() { clrscr(); int day; date dot; cout<<" enter the date (dd/mm/yy) "; cin>>dot.dd>>dot.mm>>dot.yy; cout<<" input the days to be added "; cin>>day; dot.dd +=day; if (dot.mm ==1 || dot.mm ==3 || dot.mm ==5 || dot.mm ==7 || dot.mm ==8 || dot.mm ==10 || dot.mm ==12) { if(dot.dd>=31) { dot.dd-=31; dot.mm++; } } else if(dot.mm ==4 || dot.mm ==6 || dot.mm ==9 || dot.mm ==11) { if(dot.dd>=30) { dot.dd-=30; dot.mm++; } } else if (dot.mm ==2 && dot.yy%4==0) { dot.dd-=29; dot.mm++; } else { dot.dd-=28; dot.mm++; } if (dot.mm>12) { dot.mm-=12; dot.yy++; } cout<<" new date:- "< getch(); }
How does an ERP System facilitates better decision making?
Programming an odds betting website Project Description: We want someone to program a odds betting website, Require someone with experience and skills! Skills required are
A: Use references when you can use, and use pointers when you have to. References are generally preferred over pointers whenever you don't require "reseating". Usually this mean
Conversion from Basic to User-Defined variable Consider the following example. class Distance { public :
A: (a) int foo = 123; (b) int bar(123);
What if I wish a local to "die" before the close} of the scope wherein it was created? Can I call a destructor on a local if I want to?
char P[100]; double X=533.8*22500; sprintf(P,"%f %u",X,(unsigned int)X); MessageBox(P,"SSS"); //12010500.000 12010499
C program to check display days and month main() { int months, days; clrscr(); printf("ENTER DAYS: "); scanf("%d", &days);
Ask question #write statement that assign random integer to the varaible n in the (100
Money is immutable and is associated with a currency. When two money entities are added or subtracted be sure to consider currency conversion. You must create a money object result
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