Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
~963 People Reached
Favorite Forums
Favorite Tags
c x 15
Member Avatar for ronnel09

#include<conio.h> #include<stdio.h> void main() { int iRows; clrscr(); printf("Enter a number :"); scanf("%d",&iRows); if(iRows>0) { for(int iResult=0,iCount=0,iRows; iResult<=iRows; iResult++) for(iResult=1,iCount=0,iRows; iCount<=iResult; iCount++) printf("*"); printf("\n"); }//for getch(); }//main please help me to correct my source code: i should make a program like this: * ** *** **** ***** . . . …

Member Avatar for deceptikon
0
129
Member Avatar for ronnel09

Is main(); function included as loop statement? for example i have a program with subprograms then if I finished a subprogram i will use main(); function to go back from the main program. is that considered as loop? thanks!!

Member Avatar for _avishek
0
102
Member Avatar for ronnel09

i just want to ask if you know a formula, or just VERY SIMPLE codes on how to compute days between two dates? i really don't have an idea on how to make it. thank you!

Member Avatar for rubberman
0
97
Member Avatar for ronnel09

How can i do scanf's in just one line? because example first i will input a number then i will press enter then the cursor will go to the next line. how can i maintain the cursor in just one line? thank you

Member Avatar for deceptikon
0
222
Member Avatar for ronnel09

i just wanna ask if can i format centered the outputs of turbo c? just like when you do in microsoft word. thank you!

Member Avatar for WaltP
0
285
Member Avatar for ronnel09

Good day ma'am/sir, i just wanna ask how to add color in a just specific word? because i tried this one printf("You chose"); textcolor(RED); printf("RED"); but still the whole output is colored red. please help, THANKS!

Member Avatar for ronnel09
0
128