Search:

Type: Posts; User: mouse

Search: Search took 0.00 seconds.

  1. #include #include main() {...

    #include <conio.h>
    #include <stdio.h>
    main()
    {
    int n,a[8] //depending on size of array

    FILE *fin;
    fin=fopen("a:data.c","r") //that reads the file
    fscanf("%d\n",&a[n]);
  2. Replies
    1
    Views
    971

    floyed's triangle

    I'm having a problem writing a code to build a triangle that will expand depending on the user.
    How do u tell C to go to the next line with each number?
    You have to enter a number and the triangle...
Results 1 to 2 of 2