Search:

Type: Posts; User: Tamim Ad Dari

Search: Search took 0.01 seconds.

  1. Replies
    19
    Views
    2,210

    How, dont get it. I am an absolute beginner. how...

    How, dont get it. I am an absolute beginner. how will I write everything in a file? please give a brief details.
  2. Replies
    19
    Views
    2,210

    I have found the problem. Its not in the...

    I have found the problem. Its not in the sourcecode.I repeat.. Its not the source code. Its actually in the display window of the program.when upto k<298 the program works fine. but when k=299 it...
  3. Replies
    19
    Views
    2,210

    I have done as you said,but yet it outs 75,62...

    I have done as you said,but yet it outs 75,62 which does not make any sense.
  4. Replies
    19
    Views
    2,210

    I certainly know how to find the prime factors of...

    I certainly know how to find the prime factors of a number.In fact that is the way I used in the program where user gives an input and sum of the prime factors are outputted. there is no problem in...
  5. Replies
    19
    Views
    2,210

    Well, I want this program to print the sum of...

    Well, I want this program to print the sum of factors of all numbers from 2 to 1000. such as,for k=2 it is2,k=3 it is 3,k=4 the factors are 2 and 2 and sum is 4,k=5 it is 5,k=12 factors are 3,2,2 and...
  6. Replies
    19
    Views
    2,210

    sorry to bother, but I have modified my program...

    sorry to bother, but I have modified my program so that it displays the sum of the factors of all the numbers upto 1000. here it is acting really weird!

    #include <iostream>using namespace std;
    ...
  7. Replies
    19
    Views
    2,210

    thanx ,that work.Actually I dont understand the...

    thanx ,that work.Actually I dont understand the function of the expression "endl;"
  8. Replies
    19
    Views
    2,210

    A simple C++ problem

    Hi, I am trying to write a program that will print out the factors of a number user inputted and than print the sum of the factors. I came up with this
    #include <iostream>using namespace std;

    ...
Results 1 to 8 of 9