Loading...
SCE
Home
AI Assistant
Ask Anything
Categories
Python
C#
C++
C
Visual Basic
Java
JavaScript
HTML
CSS
SQL
Git
VIEW ALL
Other
Tags
What's Hot
Featured
I'm Feeling Lucky
Latest
SCE
Loading...
Sign Up
Log In
Simple for statement
Posted by
JanWan
Last Updated:
March 03, 2012
#include<stdio.h>
int count;
main()
{
/* print the number from 1 through 20 */
for (count = 1; count <= 20; count++)
printf("%d\n", count);
return 0;
}
Related Content
How do you use the CREATE FULLTEXT INDEX statement to create a new full-text index?
HenryPk
|
Jun 26, 2024
How do you use the CASE statement in a SQL query?
HenryPk
|
Jul 11, 2024
How do you use the IF...ELSE statement in a SQL script?
RoseHrs
|
Jun 28, 2024
How do you use the CREATE USER statement to create a new database user?
CarolTh
|
Jul 06, 2024
How do you use the CREATE SCHEMA statement to create a new schema in the database?
GraceDv
|
Jul 21, 2024
How do you use the ALTER INDEX statement to rebuild or reorganize an index?
SamPetr
|
Jun 06, 2024
How do you use the CASE statement to categorize data in a SELECT query?
KarenKg
|
Jul 24, 2024
How do you use the CREATE FULLTEXT CATALOG statement to create a new full-text catalog?
SamPetr
|
Jul 31, 2024
How do you use the DROP FULLTEXT INDEX statement to delete a full-text index?
RoseHrs
|
Jul 18, 2024
How do you use the CREATE PARTITION FUNCTION statement to create a partition function?
LeoRobs
|
Jun 27, 2024
How do you use the CREATE INDEX statement with the PARTITION clause to create a partitioned index?
PaulAnd
|
Jun 07, 2024
How do you use the CREATE USER statement to create a database user mapped to a certificate?
GraceDv
|
Jun 27, 2024
How do you use the DROP USER statement to delete a database user?
GraceDv
|
Jun 12, 2024
How do you use the CREATE ROLE statement to create a database role?
QuinnLw
|
Jul 12, 2024
How do you use the CREATE LOGIN statement to create a SQL Server login?
TinaGrn
|
Jul 11, 2024