Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


how 2 write a program of this pattern usin for loop??
1
2 3
4 5 6
7 8 9 10









how 2 write a program of this pattern usin for loop?? 1 2 3 4 5 6 7 8 9 10 ..

Answer / 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

More Engineering AllOther Interview Questions

. There are two water tanks A and B, A is much smaller than B. While water fills at the rate of 1 liter every hour in A, it gets filled up like, 10, 20, 40,80, 160…..in tank B. (At the end of first hour, B has 10 liters, second hour it has 20 liters and so on). If tank B is 1/32 filled of the 21 hours, what is total duration of hours required to fill it completely?

3 Answers   TCS,


where is the first engeenering college of Asia

0 Answers  


how to store the vacuum in tank? its possible? what are the units for measure the vacuum ?

0 Answers  


how u test the idoc in inbound and outbound?

0 Answers   HCL,


what is the difference between public static void main (String args[]) and static public void main(String args[]) in java?

0 Answers  


WHAT ARE THE ADVANTAGE OF SYSTEM ENGINEER

0 Answers  


Hi I need exam pattern for ECIL Computer/IT category...

1 Answers  


i need to alone print a number no text by using if statement .say some idea

0 Answers  


void main() { int i=5; printf(“%d”,++i++) }

2 Answers   Josh Technology,


as we know that java is a platform independent language, but we need jvm for the same operating system why?

0 Answers  


A man, a woman, and a child can do a piece of work in 6 days. Man only can do it in 24 days. Woman can do it in 16 days and in how many days child can do the same work? (WITH EXPLANATION)

2 Answers   TCS,


Why there is Powerfactor difference when we compare to our Capacitive Panel and TNEB side?

0 Answers   LM Glasfiber,


Categories
  • Civil Engineering Interview Questions Civil Engineering (5086)
  • Mechanical Engineering Interview Questions Mechanical Engineering (4453)
  • Electrical Engineering Interview Questions Electrical Engineering (16638)
  • Electronics Communications Interview Questions Electronics Communications (3918)
  • Chemical Engineering Interview Questions Chemical Engineering (1095)
  • Aeronautical Engineering Interview Questions Aeronautical Engineering (239)
  • Bio Engineering Interview Questions Bio Engineering (96)
  • Metallurgy Interview Questions Metallurgy (361)
  • Industrial Engineering Interview Questions Industrial Engineering (259)
  • Instrumentation Interview Questions Instrumentation (3014)
  • Automobile Engineering Interview Questions Automobile Engineering (332)
  • Mechatronics Engineering Interview Questions Mechatronics Engineering (97)
  • Marine Engineering Interview Questions Marine Engineering (124)
  • Power Plant Engineering Interview Questions Power Plant Engineering (172)
  • Textile Engineering Interview Questions Textile Engineering (575)
  • Production Engineering Interview Questions Production Engineering (25)
  • Satellite Systems Engineering Interview Questions Satellite Systems Engineering (106)
  • Engineering AllOther Interview Questions Engineering AllOther (1379)