answersLogoWhite

0

#include<iostream>

int main()

{

for (int i=0; i<100; ++i)

std::cout<<i<<std::endl;

}

User Avatar

Wiki User

11y ago

What else can I help you with?

Related Questions

How do you write a program which reads a list of ten numbers and print the list in reserve order in c program?

The simplest way is probably to read the numbers into an array and then prints each element of the array starting at the last one and moving backwards.


What is one tool for reverse engineering software and five features of that tool?

hexadecimal dumper, which prints or displays the binary numbers of a program in hexadecimal format.


How did menu's develop?

A restaurant prints it out using a special program


Create a program which accepts a number not less than 10The program prints the reverse of the number?

ten


How do you write a c program that prints a box an oval an arrow and a diamond?

You first learn how to program in C.


A program prints vertically a numbers in c program?

It is too easy................ //Program to print numbers vertically #include&lt;stdio.h&gt; #include&lt;conio.h&gt; void main() { int last_no; int i; clrscr(); i=0; printf("Enter your last num.I will print 0 to that number"); scanf("%d",&amp;last_no); printf("\n"); while(i&gt;last_no) { printf("%d\n",i); i++; } getch(); } //poo.papule


How is MIcr used by banks in check processing?

It prints numbers at the bottom of a cheque.


Dry run table in flow-chart?

/* my second program in C++ with more comments */ #include &lt;iostream&gt; using namespace std; int main () { cout &lt;&lt; "Hello World! "; // prints Hello World! cout &lt;&lt; "I'm a C++ program"; // prints I'm a C++ program return 0; }


Program in c to develop an algorithm that prints the n value of algorithm?

reymond rillera reymond rillera


How do you wwrite a Program that prints all odd and even numbers from an array?

void f (int* a, int len) { if (!a) return;for (int i=0; i&lt;len; ++i) { if (a[i]%2) { printf ("%d is odd\n", a[i]); } else { printf ("%d is even\n", a[i]); } }


When typing letters on the keyboard seemingly randomly prints some letters and numbers?

a number lock is on


How do you write a c program to generate first n natural numbers using a for loop?

#include&lt;stdio.h&gt; main(void) { int n; int i; printf("Type n: "); scanf("%d",&amp;n); for(i=1;i&lt;=n;i++) //generates natural numbers from 1,....,n. printf("%d\n",i); //prints these numbers to standard output }