Skip to content
TFE Times

TFE Times

Business, Technology, and Culture

Click here
University of California Irvine Leaderboard
University of California Irvine Leaderboard
MAFI_728x90
Click here
NYU Tandon School of Engineering Leaderboard
University of Maryland Masters of Economics Leaderboard
Brandeis University Master of Finance Leaderboard 728x90
RPI Leaderboard
Click here
University of Maryland Masters of Economics  Leaderboard
MAFI_728x90
  • Business
  • Culture
  • Technology
  • International Rankings
    • Bangladesh
    • Canada
    • Egypt
    • India
    • Nigeria
    • Pakistan
    • Philippines
    • United Kingdom
    • United States of America
  • Masters Rankings
    • Accounting
    • Business Analytics
    • Chiropractic
    • Computer Engineering
    • Computer Science
    • Economics
    • Education
    • Finance
    • Financial Economics
    • Financial Engineering
    • Law
    • Management
    • Marketing
    • MBA
    • Nursing
    • Social Work
  • Resources
    • C++
      • Beginner’s Guide to C++
      • An Introduction to the Imperative Part of C++
      • C++ Code
        • Sorts
        • Binary Search Trees
        • Strings
        • Binary Search
        • Math
        • Quant
        • Puzzles/Games
        • Language Concepts
        • Graphics
        • OS Operations
        • Graphs
      • C++ Full Course
      • C++ Crash Course
      • C++ Interview Questions
      • C++ Q/A
      • C++ Books
      • C++ Free Books
      • C++ Videos
    • C Questions
    • C Programming Tips
    • Java Questions
    • Quant Data Sources
    • Quant Questions

Tag: c

C++: Hofstadter Q Sequence

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, hofstadter, q sequence
C++: Hofstadter Q Sequence

The Hofstadter Q sequence is defined as: It is defined like the Fibonacci sequence, but whereas the next term in the Fibonacci sequence is th

Continue Reading

C++: Currying

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, currying
C++: Currying

Create a simple demonstrative example of Currying in the specific language. Currying may be achieved in C++ using the Standard Template Library fun

Continue Reading

C++: Flow-Control Structures

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, control, flow, flow-control structure, goto, structures
C++: Flow-Control Structures

In this task, we document common flow-control structures. One common example of a flow-control structure is the goto construct. Note that Conditional

Continue Reading

C++: Black Scholes Put Option Delta

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged black, c, delta, option, put, scholes
C++: Black Scholes Put Option Delta

// Calculate the Black Scholes European put option Delta double BS_Put_Option_Delta(double S, double K, double r, double v, double T) // Parame

Continue Reading

C++: Lucas-Lehmer Test

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, lehmer, lucas, lucas-lehmer test, prime, test
C++: Lucas-Lehmer Test

Lucas-Lehmer Test: for p an odd prime, the Mersenne number 2p − 1 is prime if and only if 2p − 1 divides S(p − 1) where S(n + 1) = (S(n))2 − 2

Continue Reading

C++: For Loop with a Specified Step

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged a, c, for loop, loop, specified, step, with
C++: For Loop with a Specified Step

Demonstrate a for-loop where the step-value is greater than one. This prints all odd digits: for (int i = 1; i < 10; i += 2) std::cout &

Continue Reading

C++: Hickerson Series of Almost Integers

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged almost, c, erie, hickerson, hickerson series, integer, of, s, series
C++: Hickerson Series of Almost Integers

The following function, due to D Hickerson, is said to generate "Almost integers" by the "Almost Integer" page of Wolfram Mathworld. (December 31 2013

Continue Reading

C++: Mode

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, mode
C++: Mode

Write a program to find the mode value of a collection. The case where the collection is empty may be ignored. Care must be taken to handle the case w

Continue Reading

C++: Pythagorean Means

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, means, pythagorean
C++: Pythagorean Means

Compute all three of the Pythagorean means of the set of integers 1 through 10. Show that for this set of positive integers. The most common

Continue Reading

C++: Harshad/Niven Series

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, digit, digits, harshad, niven, series
C++: Harshad/Niven Series

The Harshad or Niven numbers are positive integers >= 1 that are divisible by the sum of their digits. For example, 42 is a Harshad number as 42

Continue Reading

Posts navigation

Older posts
Newer posts
Click here
Brandeis Business School
University of Maryland Masters of Economics Sideboard
University of California Irvine Leaderboard
University of Maryland Masters of Economics Sideboard
University of California Berkeley Master of Financial Engineering MFE Sideboard
NYU Tandon School of Engineering Sideboard
output_8BgzjE
  • How Seasonal Contractors Strengthen Coverage With Umbrella Insurance

    June 13, 2026 by TFE Times
  • Top 5 Contractors Insurance Providers in Florida Worth Considering in 2026

    June 13, 2026 by TFE Times
  • Custom ERP System Explained in Simple Words

    June 13, 2026June 13, 2026 by TFE Times
  • Top 20 Highest Paying Jobs With No College Degree Required

    June 13, 2026November 22, 2025 by TFE Times
  • America’s Incarceration Rates

    June 12, 2026November 22, 2025 by TFE Times
  • Bunny96 Casino Australia: $20 No Deposit Bonus in 2026

    June 11, 2026 by TFE Times
  • Bankroll Management Tips for Online Pokies Players

    June 11, 2026 by TFE Times
  • The Last Five Winners of the Oaks

    June 11, 2026June 13, 2026 by TFE Times
  • The World’s Most Powerful Rivers

    June 11, 2026November 22, 2025 by TFE Times
  • Where People Eat The Most Meat

    June 10, 2026November 22, 2025 by TFE Times

Copyright © TFE Times, LLC. All Rights Reserved.

Terms of Service | Privacy Policy | Disclaimer

WordPress Theme : Eight Paper by 8Degree Themes