Skip to content
TFE Times

TFE Times

Business, Technology, and Culture

Brandeis University Master of Finance Leaderboard 728x90
Click here
NYU Tandon School of Engineering Leaderboard
Click here
MAFI_728x90
Click here
MAFI_728x90
RPI Leaderboard
University of California Irvine Leaderboard
University of California Irvine 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++: Globally Replace Text in Several Files

September 1, 2017
Bjarne-stroustrup
Next →

C++ Full Course Lesson 4: Variables

September 1, 2017

Related Posts

Bjarne-stroustrup

C++ Interview Question 15 Answer

Posted on April 17, 2015June 20, 2016
Bjarne-stroustrup

C++: Loop Continue

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

C++: Globally Replace Text in Several Files

Posted on September 1, 2017April 1, 2018
NYU Tandon School of Engineering Sideboard
Brandeis Business School
University of California Berkeley Master of Financial Engineering MFE Sideboard
University of California Irvine Leaderboard
output_8BgzjE
Click here
  • Top Companies Driving Growth in the Utilities Sector

    December 30, 2025 by TFE Times
  • Why Nursing Home Abuse Rates Are On the Rise

    December 30, 2025December 30, 2025 by TFE Times
  • The Long-Term Financial Cost of Asbestos Exposure for Workers and Employers

    December 30, 2025 by TFE Times
  • Visualized: All The World’s Data

    December 30, 2025July 26, 2025 by TFE Times
  • The National Animals Of Asia-Pac

    December 29, 2025July 26, 2025 by TFE Times
  • Most Important Job Skills In 2025

    December 28, 2025July 26, 2025 by TFE Times
  • Hiring Software As A Catalyst For Smarter Workforce Transformation

    December 27, 2025 by TFE Times
  • Lifestyle Shifts for Busy Professionals

    December 27, 2025 by TFE Times
  • Risk Management Through Communication: How To Avoid Crises In Large Projects

    December 27, 2025December 30, 2025 by TFE Times
  • The New Shape Of The SOC In Modern Security

    December 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