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!
main()
{
int months, days;
clrscr();
printf("ENTER DAYS: ");
scanf("%d", &days);
months=days/30;
days=days%30;
printf("\nMONTHS = %d DAYS = %d", months, days);
getch();
}
OUTPUT :
Enter days: 35
Months=1 Days=5
Literals (Constants) Constants are data storage locations whose address is not accessible for the user. Their value is not altered during the course of the program. Literal
C Program for REVERSE THE WORD IN STRING #include conio.h> #include stdio.h> #include string.h> void main() { char a[50],b[25][25],temp; i
Define a structure to store roll no, name and marks of a student. b) Using the structure of Q2. a), above write a ''C'' program to create a file "student.dat". There must be one r
A: 1. By using const protects you against programming errors which inadvertently alter data. 2. By using const allows function to procedure const and non-const actu
it is a class enclosed in the scope of another class. For illustration: // Example: Nested class // class OuterClass { class NestedClass { // ... }; // .
Mathematical Statements and assignments Within C we can directly load up the variable from within the program using the mathematical expression equates (=) e.g. a= 'h'
decoding message
how to write c++ for function f(x)= 2x^3 -x^2 +10
write a c program to solve exanple of lamis therom
Differentiate between the expression "++a" and "a++"? - With ++a, increment happens first on variable a, and resulting value is used. This is known as prefix increment. - Wi
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