print out put like this form
1 2 3 4 5 6
3 5 7 9 11
8 12 16 20
Answer Posted / paru jain
#include<stdio.h>
void main()
{
for(i=1;i<=6;i++)
{
printf("%d",i);
}
printf("\n");
int value = 1;
for(int j=1;j<6;j++
{
value = value+2;
printf("%d",value);
}
printf("\n");
for(int k=2;k<6;k++)
{
int m = j*4;
printf("%d",m);
}
}
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
What is calloc malloc realloc in c?
What is pointer to pointer in c?
What language is windows 1.0 written?
what are # pragma staments?
What is queue in c?
Why we write conio h in c?
What is the difference between text files and binary files?
What is wrong in this statement?
What is meant by inheritance?
Why is c faster?
Write a program to input the price of 1 burger and the number of burgers eaten by a group of friends .print the total amount to be paid by the group?
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 does c value mean?
How is pointer initialized in c?
What is the difference between near, far and huge pointers?