how 2 write a program of this pattern usin for loop??
1
2 3
4 5 6
7 8 9 10
Answer Posted / narendra553
#include<stdio.h>
void main()
{
int a=1;
for(int i=0;i<=10;i++)
{
a+=i;
}
getch();
}
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Is there any difference between the concepts of encoding,decoding and encryption and decryption?
A rectangular sheet dimensions a x b is to be made into an open-topped box by cutting a square of side h from each corner and folding the 4 sides up. Find the value of h which allows the maximum volume of the box?
why only j2me is used for mobile???
why unix commands simpler rather than complex task
char *a[2]; int const *p; int *const p; struct new { int a;int b; *var[5] (struct new)} Describe the statements in the above given construct ?
what is the difference between embedded system and PLC. Whether the micro controller accept future expansion of program?
Can you connect Active Directory to other 3rd-party Directory Services? Name a few options.
an upper layer message is split into 10 frames each of which has an 80 percent chance of arriving undamaged.if no error control is done by the data link protocol,how many times must the message be sent on the average to get the entire thing through?
#include
is the RKDF university is aicte approved for b.tech in computer
How many of 14 digit numbers we can make with 1,2,3,4,5 that are divisible by 4. Repetitions allowed.
What is your Job Profile in IT feild.
how to cable size by Amp with example
Is there aptitute question will be asked in NIC exam ??? If yes how many questions will be asked??
what is JAR file,JNI,JFC??