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(); }
Define pure virtual function or abstract class?
Program to store family members details in C++: #include #include #include struct record { char name[30]; int age; char state[40]; }x; //cal
Define How Passing Arrays to a Function? A complete array can be passed to a function as an argument. The manner in which the array is passed be different from that of an ordin
Write a Program to illustrate passing structure to function? # include struct customer { int id; char name[15]; }; void func_struct(struct customer); main() { struct c
Prepare aime crossover alert expert adviso Project Description: Need to develop an expert advisor base on aime crossover alert indicator. Skills required is C Programming
Program to define an array in c: Write a program to define an array and print the value of array. void main() { int a[10]={0,11,21,34,44,75,46,57,88,89},i,j,k; clr
A string S is said to be "Super ASCII", if it contains the character frequency equal to their ascii values. String will contain only lower case alphabets (''a''-''z'') and the asci
Write a program called Converter that does three types of metric conversions. Your program should prompt the user for the selection conversion, prompt for input data, and display t
Smugglers are becoming very smart day by day. Now they have developed a new technique of sending their messages from one smuggler to another. In their new technology, they are send
Addition in a existing c++ unification algorithm Project Description: I have a existing code for a algorithm and need to add two modules into it, it is a unification algorith
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