Search:

Type: Posts; User: A.B.D

Search: Search took 0.00 seconds; generated 19 minute(s) ago.

  1. Replies
    7
    Views
    5,705

    Thank you Brother. But I didn't get your Second...

    Thank you Brother.
    But I didn't get your Second code.
    Can u explain it.
  2. Replies
    2
    Views
    5,868

    Thankyou

    Thankyou
  3. Replies
    9
    Views
    10,609

    First of All, your code is amazing. It seems you...

    First of All, your code is amazing. It seems you did put a lot of efforts into it.

    The menu which you printed in print statement could be stored in a multidimensional String array, and can be...
  4. Replies
    2
    Views
    5,868

    Ackerman Function

    Q. The Ackerman recursion can be described as below: A (0, n)
    = n + 1
    A (m + 1, 0) = A (m, 1)
    A (m + 1, n + 1) = A (m, A (m + 1, n))
    Given m and n as input, write a program to calculate A(m, n),...
  5. Replies
    7
    Views
    5,705

    Peasants' Algorithm for multiplication

    Q.7 Consider the Peasants' Algorithm for multiplication of two positive integers. It
    works in the following manner:
    • Write the two numbers in two columns. Keep updating according to the
    following...
  6. Replies
    1
    Views
    4,135

    Sum till a Single Digit

    Q) Write a program that accepts integer as input and repeatedly sums it digits till it reaches single digit. It the outputs that single digit.


    #include<stdio.h>
    int main()
    {
    int...
  7. Replies
    1
    Views
    3,505

    Notes of Different Dominations

    Q) Write a program to determine the smallest number of notes of different domination that are required for an amount input by a user. Assume that the notes are in domination of 100,50,20,10,5,2 and...
  8. Thread: Three Dice Roll

    by A.B.D
    Replies
    2
    Views
    9,354

    Three Dice Roll

    Question : Create a game using C wherein user rolls 3 dices and it prints out the total on them-dice a+dice b+dice c.Now after the user looks at the no. they would guess if the next roll will be...
Results 1 to 8 of 8