print out put like this form
1 2 3 4 5 6
3 5 7 9 11
8 12 16 20
Answer Posted / sai
#include<stdio.h>
#include<conio.h>
void main()
{
int i;
clrscr();
for(i=1;i<=6;i++)
printf("%d ",i);
for(i=3;i<=11;i=i+2)
printf("%d ",i);
for(i=8;i<=20;i=i+4)
printf("%d ",i);
getch();
}
| Is This Answer Correct ? | 30 Yes | 5 No |
Post New Answer View All Answers
Write a program with dynamically allocation of variable.
What is this pointer in c plus plus?
Write a c program to demonstrate character and string constants?
if (i = 0)printf ("True"); elseprintf("False"); Under what conditions will the above print out the string "True" a) Never b) Always c) When the value of i is 0 d) all of the above
What are derived data types in c?
What functions are used for dynamic memory allocation in c language?
GIVEN A FLOATING POINT NUMBER HOW IS IT ACTUALLY STORED IN MEMORY ? CAN ANYONE EXPLAIN?? THE 32 BIT REPRESENTATION OF A FLOATING POINT NUMBER ALLOTS: 1 BIT-SIGN 8 BITS-EXPONENT 23 BITS-MANTISSA
What is d scanf?
Is c still relevant?
Are the expressions * ptr ++ and ++ * ptr same?
What does c value mean?
What language is lisp written in?
How can I list all of the predefined identifiers?
What is #pragma statements?
What does the format %10.2 mean when included in a printf statement?