Search:

Type: Posts; User: cowa

Search: Search took 0.00 seconds.

  1. Replies
    6
    Views
    1,319

    Yes, "in case of duplicates, always return...

    Yes,
    "in case of duplicates, always return first one or last one"
  2. Replies
    6
    Views
    1,319

    Change Binary Search

    I have binary search - this one , but i need to change it like this , that it will search : for example we have array {1,10,11,12,15,16,22,22,22,22,30,40} I want to find 22 but not randomly - or it...
  3. Replies
    2
    Views
    2,783

    Different digits in number

    How can I do it - with pointer and only one loop ?

    for exmpl function - unsigned int dif(const char *str)



    counter = 0;
    for(i = 0; i < N; i++)
    A[i] = 0;
    do
  4. Replies
    3
    Views
    1,843

    Print matrice with one loop?

    How can I print matrix with one loop . . .




    void printMat(const int mat[][N], int n)
    {
    int i, j;
    for(i = 0; i < n; i++)
    {
  5. Replies
    1
    Views
    839

    Change letters . . .

    Hi,

    what i'm doing wrong ? I need to write recursive function that will change from lowercase letters to cap letters .



    char big_let(char* str)
    {
    unsigned int i;
    for ( i=0; i <...
  6. Replies
    1
    Views
    1,918

    Counting quantity of different digits

    What I'm doing wrong . . .
    I need to count quantity of different digits in number
    for example 321123 : and output i want like that

    There r 3 different digits in the number 321123




    ...
  7. Replies
    6
    Views
    1,248

    thanx

    thanx
  8. Replies
    6
    Views
    1,248

    It is possible to do it an another way ... ?

    It is possible to do it an another way ... ?
  9. Replies
    6
    Views
    1,248

    screenshot - MyPicx.com...

    screenshot - MyPicx.com

    Here is screenshot - the number reverse with "0"



    printf("\nOriginal number: %d\n",n);
    printf("Reverse number: ",rem);
    while(n>0)
  10. Replies
    6
    Views
    1,248

    How to reverse digits without "0"

    printf("\nOriginal number: %d\n",n);
    printf("Reverse number: ");
    while(n>0)

    {
    rem=n%10;
    printf("%d", rem);
    n=n/10;
    }
  11. Thank U very much!!!

    Thank U very much!!!
  12. Here the link of picture cmd C - MyPicx.com...

    Here the link of picture cmd

    C - MyPicx.com
  13. It's still doesn't work :(

    It's still doesn't work :(
  14. #define _CRT_SECURE_NO_WARNINGS #include...

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

    void main()
    {
    unsigned int n,m,oddSum=0,evenSum=0;
    char ch
    printf("Please insert the number for the program:");...
  15. How can i count sum of digits in odd/even places?

    Hello Everyone!
    I want to count the sum of digits in odd places and in even places , and after that their difference
    we know that first digit it's from the right side

    How can I do it with...
Results 1 to 15 of 15