Skip to content
TFE Times

TFE Times

Business, Technology, and Culture

University of California Irvine Leaderboard
MAFI_728x90
MAFI_728x90
Click here
NYU Tandon School of Engineering Leaderboard
University of California Irvine Leaderboard
Click here
RPI Leaderboard
Brandeis University Master of Finance Leaderboard 728x90
Click here
  • 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

Category: C++ Puzzles

C++: Guess the Number

Posted on September 1, 2017October 10, 2017 by TFE Times
Posted in C++ PuzzlesTagged game, guess the number
C++: Guess the Number

The task is to write a program where the program chooses a number between 1 and 10. A player is then prompted to enter a guess. If the player guess wr

Continue Reading

C++: Create an HTML Table

Posted on September 1, 2017October 10, 2017 by TFE Times
Posted in C++ PuzzlesTagged an, create, html, table
C++: Create an HTML Table

Create an HTML table. The table body should have at least three rows of three columns. Each of these three columns should be labelled "X", "Y"

Continue Reading

C++: Elementary Cellular Automaton

Posted on September 1, 2017October 10, 2017 by TFE Times
Posted in C++ PuzzlesTagged automaton, cellular, elementary
C++: Elementary Cellular Automaton

An elementary cellular automaton is a one-dimensional cellular automaton where there are two possible states (labeled 0 and 1) and the rule to determi

Continue Reading

C++: Largest Int from Concatenated Ints

Posted on September 1, 2017October 9, 2017 by TFE Times
Posted in C++ PuzzlesTagged concatenate, d, from, int, largest, s
C++: Largest Int from Concatenated Ints

Given a set of positive integers, the task is to write a function to order the integers in such a way that the concatenation of the numbers forms the

Continue Reading

C++: Day of the Week

Posted on September 1, 2017October 10, 2017 by TFE Times
Posted in C++ PuzzlesTagged day, of, the, week
C++: Day of the Week

A company decides that whenever Xmas falls on a Sunday they will give their workers all extra paid holidays so that, together with any public holidays

Continue Reading

C++: Five Weekends

Posted on September 1, 2017October 10, 2017 by TFE Times
Posted in C++ PuzzlesTagged algorithm, calendar, date, five, weekends
C++: Five Weekends

The month of October in 2010 has five Fridays, five Saturdays, and five Sundays. The task Write a program to show all months that have this sa

Continue Reading

C++: Menu

Posted on September 1, 2017October 9, 2017 by TFE Times
Posted in C++ PuzzlesTagged menu
C++: Menu

Given a list containing a number of strings of which one is to be selected and a prompt string, create a function that: Print a textual menu form

Continue Reading

C++: Long Multiplication

Posted on September 1, 2017October 9, 2017 by TFE Times
Posted in C++ PuzzlesTagged long, multiplication
C++: Long Multiplication

In this task, explicitly implement long multiplication. This is one possible approach to arbitrary-precision integer algebra. For output, display t

Continue Reading

C++: Anagrams

Posted on September 1, 2017October 10, 2017 by TFE Times
Posted in C++ PuzzlesTagged anagrams
C++: Anagrams

Two or more words can be composed of the same characters, but in a different order. Using the word list at http://www.puzzlers.org/pub/wordlists/unix

Continue Reading

C++: Leap Year

Posted on September 1, 2017October 9, 2017 by TFE Times
Posted in C++ PuzzlesTagged calendar, leap year, year
C++: Leap Year

Determine whether a given year is a leap year in the Gregorian calendar. #include <iostream> bool is_leap_year(int year) { return ye

Continue Reading

Posts navigation

Older posts
University of California Irvine Leaderboard
Brandeis Business School
Click here
output_8BgzjE
University of California Berkeley Master of Financial Engineering MFE Sideboard
NYU Tandon School of Engineering Sideboard
  • Direct War Damage In Ukraine

    November 20, 2025June 27, 2025 by TFE Times
  • Explore Signature Chicken Dishes That Define the Best Food Trucks

    November 19, 2025 by TFE Times
  • How Does Utah Law Protect You After a Dog Bite?

    November 19, 2025 by TFE Times
  • Why Digital Products Use Surprise Effects: The Psychology Behind User Interaction

    November 19, 2025 by TFE Times
  • Game Theory in Business: How Companies Compete by Mapping Hidden Strategic Patterns

    November 19, 2025November 19, 2025 by TFE Times
  • The Aesthetics of Neon and Night Lights: How “Nocturnal Luxury” Shapes Modern Tech Branding

    November 19, 2025 by TFE Times
  • Innovation as a Bet on the Future: Why Startups Survive on the Edge of Risk

    November 19, 2025 by TFE Times
  • “Random Rewards” and Gamification: How Tech Companies Use Surprise Mechanics to Keep Users Engaged

    November 19, 2025 by TFE Times
  • 25 AI Startups On The Rise

    November 19, 2025June 27, 2025 by TFE Times
  • The 50 Best Places To Work In America

    November 18, 2025June 27, 2025 by TFE Times

Copyright © TFE Times, LLC. All Rights Reserved.

Terms of Service | Privacy Policy | Disclaimer

WordPress Theme : Eight Paper by 8Degree Themes