int i; printf("\n\nGANTT CHART"); printf("\n--------------------------------------------------------------------\n"); for(i=1;i<=n;i++) printf("|\t%s\t",pname[i]); printf("|\t\n"); printf("\n---------------------------------------------------------------------\n"); printf("\n"); for(i=1;i<=n;i++) printf("%d\t\t",Wt[i]); printf("%d",Wt[n]+Bu[n]); printf("\n--------------------------------------------------------------------\n"); printf("\n");
wat to do wid this piece of code ? do u need output ???????????
nevermind..just wanted c++ version of it...anyway...can u help me with my assignment...kinda giving me headache...
replace printf() with cout and scanf with cin e.g printf( "\nGANTT CHART" ); will be cout << "\nGANTT CHART"; similiarly other printf statments , and for integr output cout << integer_name; or cout<< expression; well wat is the assimnt ?
provide me with ur email,so i can email to u know...i just need some help and also guidline if u can
check ur inbox.
Join our real-time social learning platform and learn together with your friends!