Search:

Type: Posts; User: programiz

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    6,247

    You cannot assign character to an integer...

    You cannot assign character to an integer variable.
    For more information visit: Input and Output in C
  2. Replies
    10
    Views
    1,853

    This program simply reverse anything you write...

    This program simply reverse anything you write before you hit enter.
    -To understand recursive function, you need have know of what local(automatic variable) is. A local variable can exist only...
  3. I hope this source code will help u. ...

    I hope this source code will help u.



    #include <iostream>
    using namespace std;
    int main()
    {
    int array[14]={1,1,3,4,2,64,2,3,1,3,4,53,5,6},num,i,count=0;
    cout<<"Enter the number you...
  4. Replies
    3
    Views
    4,126

    You have declared variable comp as double. But,...

    You have declared variable comp as double. But, in line 19 and 23, n%d returns integer value. When you tried to assign integer value to double using code comp=n%d, it shows error. Source: C operators...
Results 1 to 4 of 4