1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Need the actual logic of beelow problem

Discussion in 'C' started by sdmahapatra, Aug 5, 2009.

  1. sdmahapatra

    sdmahapatra New Member

    Joined:
    Jun 16, 2009
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    0
    Hi everyone I couldn't find the actual logic behind below two problems:
    Code:
    (1) how to capture number of occurrences of 3 between 1 to 100? and 
    (2) assigns a function to a pointer and subsequently call it.
    all problems are in c++

    As I'm new in this field so,please help me to sweep out the problems.
    Thanks and regards
    sdmahapatra
     
    Last edited: Aug 5, 2009
  2. Saket

    Saket New Member

    Joined:
    Jul 21, 2009
    Messages:
    42
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Don't Know
    For 1st program you can go like this, check for the number. for example say number is 53...so check for each numbr, first 5 and then 3.
     

Share This Page