Results 1 to 3 of 3

simple c program help

This is a discussion on simple c program help within the C-Sharp (C# or C♯) forums, part of the Courses category; Assalam-o-alekum: mjhe c program k lye ek help chahye k ek aisa program ho jo 10 strings array mai store ...

  1. #1
    iTT Student
    Join Date
    Jan 2010
    Location
    hydrabad/pakistan
    Age
    28
    Posts
    17

    simple c program help

    Assalam-o-alekum:

    mjhe c program k lye ek help chahye k ek aisa program ho jo 10 strings array mai store krvaye or phr use print krvade


    plz help me...

  2. #2
    iTT Student
    Join Date
    Mar 2011
    Location
    Islamabad
    Age
    27
    Posts
    21

    Re: simple c program help

    #include<stdio.h>
    #include<conio.h>

    int main(){

    int i,j,arr[10];

    printf("Enter Elements in Array: ");

    for(i=0;i<10;i++)
    {
    scanf("%d", arr[i]);
    }

    printf("hello");

    for(j=0;j<10;j++)
    {
    printf("%d", arr[i]);
    }

    getch();
    return 0;
    }

    Compiler Used: Dev C++
    Last edited by irti92; 31st January 2012 at 03:12 AM.

  3. #3
    iTT Student
    Join Date
    Nov 2012
    Location
    peshawar
    Age
    31
    Posts
    2

    Re: simple c program help

    nice

Similar Threads

  1. simple passanday
    By *Angel* in forum Khana-khazana
    Replies: 2
    Last Post: 28th January 2009, 03:49 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •