« Back to profile of so0so

  • Action Script

    function 1

    استخدام function ، سطر من الرموز بدل تكرار ذلك

    18:40 Jan 01 2011 | Tags : C,
    						#include<stdio.h>
#include<conio.h>
void starline ();
void main ()
{
starline();
printf ("section\n");
starline();
printf("GB\n");
starline();
getch();
}

void starline ()
{
for (int i=0;i<20;i++)
printf("*");
printf("\n");
}
    			         
Add comment
To add a comment, please : Login or Sign up
    so0so
    Samar
  • New visitor?

    On setCode, you can save your codes, functions and classes, you can also share them with your friends, and track your favorite developer

    Join the SetCode community
  • Your language here :