Indian Paintings notes:or IAS UPSC SSC PCS States level other Exams

Rajput painting shows a number of themes and different events of epics like the Ramayana and the Mahabharata, Krishna’s life However  mostly paintings were done on the walls of palaces, inner chambers of the forts, colors were extracted from certain minerals, plant sources, conch shells, and were even derived by processing precious stones emerged from …

Read more

PYRAMID PROBLEM IN C PROGRAMMING LANGUAGE BEST WITH OUTPUT SCEENSHOT

#includeint main() {    int i,j,n; printf(“Enter number of lines : “); scanf(“%d”,&n); for(i=1; i<=n; i++)  /*this loop used for printing lines or rows only*/ { for(j=1; j<=i; j++)/*this loop used for printing values inside the lines or rows*/ printf(“%2d”,i); printf(“n”); } return 0;}

PYRAMID PROBLEM IN C PROGRAMMING LANGUAGE BEST WITH OUTPUT SCEENSHOT

#include int main() { int i,j,n; printf(“Enter lines : “); scanf(“%d”,&n); for(i=1; i<=n; i++)  /*for printing lines or rows only*/ { for(j=1; j<=i; j++)/*this loop used for printing values inside the lines or rows*/ printf(“%2d”,i); printf(“n”); } return 0; } OUTPUT:                             …

Read more

PYRAMID PROBLEM IN C PROGRAMMING LANGUAGE WITH OUTPUT SCREEN SHOT

#include int main() { int i,j,n; printf(“Enter lines : “); scanf(“%d”,&n); for(i=1; i<=n; i++) /*This used for printing row only*/ { for(j=1; j<=i; j++)/*This used for printing ASTERISK IE.* only*/ { printf(“* “); } printf(“n”); } return 0; } OUTPUT:  

DAY OF WEEK FROM GIVEN DATE

#includeint main(){ int d,m,y,j,f,h,fh,day; printf(“Enter date(dd/mm/yyyy): “); scanf(“%d/%d/%d”,&d,&m,&y); j=d; switch(m-1) { case 11:   j+=30; /*Fall thru in all cases*/ case 10:   j+=31; case 9:    j+=30; case 8:    j+=31; case 7:    j+=31; case 6:    j+=30; case 5:    j+=31; case 4:    j+=30; case 3:    j+=31; case 2:   …

Read more