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
What are derived data types in c?
What is the difference between a string and an array?
What is derived datatype in c?
What is pivot in c?
Why are all header files not declared in every c program?
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.
What is data structure in c and its types?
What is masking?
Explain continue keyword in c
What is null pointer constant?
What are the features of the c language?
Why header files are used?
What are the types of macro formats?
What is the use of the function in c?
Why we not create function inside function.