Search:

Type: Posts; User: cheeta

Search: Search took 0.00 seconds.

  1. Thread: generate number

    by cheeta
    Replies
    9
    Views
    2,256

    hey guys,sorry guys i dono to explain it...but...

    hey guys,sorry guys i dono to explain it...but atlast ,i cud do it myself...This is the program :


    for(i=1; i<=limit; i++)
    {
    printf("%d", i);
    for(j=1; j<i; j++)
    {
    k=1;
    ...
  2. Thread: generate number

    by cheeta
    Replies
    9
    Views
    2,256

    like,if the number is 20,it has to be like 1 ...

    like,if the number is 20,it has to be like

    1 5
    2 6 9 12
    3 7 10 13 15 17
    4 8 11 14 16 18 19 20

    see,the thing is it has to be with 4 rows alone...
  3. Thread: generate number

    by cheeta
    Replies
    9
    Views
    2,256

    help me with this 15 numbers...

    help me with this 15 numbers...
  4. Thread: generate number

    by cheeta
    Replies
    9
    Views
    2,256

    thanks claudiu, for ur reply i am actually new to...

    thanks claudiu, for ur reply i am actually new to c...i actually need the output as :
    1
    2 5 8
    3 6 9 11 13
    4 7 10 12 14 15
  5. Thread: generate number

    by cheeta
    Replies
    9
    Views
    2,256

    for loop

    #include<stdio.h>

    //main function..
    int main(void){
    int i,j,k;
    int n=3;
    for(i=0;i<=3;i++) {
    j=1;
    while(j<=n) {
    ...
  6. Replies
    2
    Views
    1,138

    Random number generation

    hi,
    i need a program to generate random numbes upto 100 without using rand() function in c?...is there any way to do this task...tell ur suggestions plz...thanks in advance..
  7. Thread: simple pointer

    by cheeta
    Replies
    3
    Views
    1,270

    simple pointer

    #include<stdio.h>
    #include<stdlib.h>
    int main(void)
    {

    char sentence[256];
    printf("\nEnter the sentence : ");
    fgets(sentence,255,stdin);
    fputs(sentence,stdout);
    }
Results 1 to 7 of 7