print out put like this form
1 2 3 4 5 6
3 5 7 9 11
8 12 16 20

Answer Posted / sourav das

#include<stdio.h>
#include<conio.h>
void main()
{
int i,j,k;
for(i=1;i<=6;i++)
printf("%d",i);
printf("\n");
for(j=3;j<=11;j=j+2)
printf("%d",j);
printf("\n");
for(k=8;i<=20;k=k+4)
printf("%d",k);
getch();
}

Is This Answer Correct ?    3 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are derived data types in c?

790


What is the difference between a string and an array?

905


What is derived datatype in c?

813


What is pivot in c?

746


Why are all header files not declared in every c program?

803


stripos — Find position of first occurrence of a case- insensitive string int stripos ( char* haystack, char* needle, int offset ) Returns the numeric position of the first occurrence of needle in the haystack string. Note that the needle may be a string of one or more characters. If needle is not found, stripos() will return -1. The function should not make use of any C library function calls.

2131


What is data structure in c and its types?

800


What is masking?

888


Explain continue keyword in c

765


What is null pointer constant?

769


What are the features of the c language?

835


Why header files are used?

826


What are the types of macro formats?

796


What is the use of the function in c?

779


Why we not create function inside function.

1949