Recent content by iquicck

  1. I

    Comp Sci C language "too many arguments for format" error

    I have a problem there,I want to Users decide a,b,c,d,e numbers. if I write printf("enter numbers:"); scanf("%d",&a); printf("enter numbers:"); scanf("%d",&b);... if ı do like that ,it has not any problem but its not effective,Program always asking number a,b,c etc. My wish is...
  2. I

    Comp Sci Searching Array for an Element using Linear Search

    Code is work but I want to redesign my code for ask to user for enter number to "r" I wrote; printf("Enter r number); scanf("%d",r); but it didnt work
  3. I

    Comp Sci Searching Array for an Element using Linear Search

    I write a Linear Search code,then ı decided ask to user "r" and "int arr".I mean,User decide their r and arr numbers.I tried scanf("%d",r); command but doesn't work This code my first code before the decide Ask user : #include <stdio.h> int search(int arr[], int n, int r) { int i; for...
Back
Top