Computer Science, asked by Anonymous, 1 year ago

wring a program in computer in easy way by for loop? only simple concept


rakshialisha78p30t46: which program
vickey634p2y8yk: #include <stdio.h>

int main() {
int i = 0;

while ( i < 5 ) {
printf( "Hello, World!\n");
i = i + 1;
}
}
Anonymous: for loop

Answers

Answered by vickey634p2y8yk
1
#include <stdio.h>
int main()
{
int i = 0;
while ( i < 5 )
{
      printf( "Hello, World!\n");
      i = i + 1;
}
}

Anonymous: Thanx
Similar questions