How to produce a decimal counting with loop


// This is written by "Syed Ali Haider"
// Student of Havjery University
// Don't remove these line for legal use
// Upload on Let's programming by (CEO)
// For contact
// key_to_programming@yahoo.com

# include <iostream>
using namespace std;

void main ()
{
       for (double i=1.00; i<=10.00; i=i + 0.1)
             cout<<i<<endl;
}
// This is written by "Syed Ali Haider"
// Student of Havjery University
// Don't remove these line for legal use
// Upload on Let's programming by (CEO)
// For contact
// key_to_programming@yahoo.com


Comments

Popular posts from this blog

Umbrella activities in Software Engineering

Operating System | Best Definition of Opetating System