Skip to content
TFE Times

TFE Times

Business, Technology, and Culture

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

C++: Downward For Loop

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, downward, for loop, loop
Bjarne-stroustrup
 


Write a for loop which writes a countdown from 10 to 0.

for(int i = 10; i >= 0; --i)
  std::cout << i << "\n";

SOURCE

Content is available under GNU Free Documentation License 1.2.

Related

Post navigation

Bjarne-stroustrup
← Previous

C++: Multisplit

September 1, 2017
C_plus_plus_at_woodlands_school
Next →

C++ Questions

September 1, 2017

Related Posts

Bjarne-stroustrup

C++: Greyscale Bars

Posted on September 1, 2017April 1, 2018
Bjarne-stroustrup

C++ Language Concepts

Posted on September 1, 2017April 1, 2018
Bjarne-stroustrup

C++: Filter

Posted on September 1, 2017April 1, 2018
University of California Berkeley Master of Financial Engineering MFE Sideboard
University of California Irvine Leaderboard
Brandeis Business School
NYU Tandon School of Engineering Sideboard
Click here
output_8BgzjE
  • The Most Reliable Used-Car Brands in 2025

    September 9, 2025May 25, 2025 by TFE Times
  • Charting U.S. Trade Relationships

    September 8, 2025May 25, 2025 by TFE Times
  • The World’s Largest Combat Tank Fleets

    September 7, 2025May 25, 2025 by TFE Times
  • The World’s Aging Population

    September 6, 2025May 25, 2025 by TFE Times
  • How Do American Universities Make Money?

    September 5, 2025May 25, 2025 by TFE Times
  • Demand For Silver In Millions Of Ounces

    September 4, 2025May 25, 2025 by TFE Times
  • 2024’s Biggest Box Office Bombs

    September 3, 2025May 25, 2025 by TFE Times
  • UN Member States Not Recognized By At Least One Other UN Member State

    September 2, 2025May 25, 2025 by TFE Times
  • The Most Taxed States In America

    September 1, 2025May 25, 2025 by TFE Times
  • Top Donors Of The 2024 Presidential Election

    August 31, 2025May 25, 2025 by TFE Times

Copyright © TFE Times, LLC. All Rights Reserved.

Terms of Service | Privacy Policy | Disclaimer

WordPress Theme : Eight Paper by 8Degree Themes