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...

program in c to print 1 to 100 without using loop

Answer Posted / ashu

#include<stdio.h>
#include<conio.h>
#include<math.h>
void main()
{
int a;
clrscr();
printf("there are 1 to 100");
a=0;
if(a<100)
{
a++;
printf("%d\n",a);
}
else if(a>100)
{
goto end;
}
end: getch();
}

Is This Answer Correct ?    5 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the 4 types of organizational structures?

1106


What is a program flowchart?

1204


PLS U SENS ME INTERVIEW O. MY EMAIL ADD, SOFIYA.SINGH@GMAIL.COM

2185


Define VARIABLE?

1167


How to get string length of given string in c?

1067


In c programming, explain how do you insert quote characters (? And ?) Into the output screen?

1245


Can you assign a different address to an array tag?

1173


void main(){ int a; a=1; while(a-->=1) while(a-->=0); printf("%d",a); }

1727


How many keywords are there in c?

1078


Explain low-order bytes.

1038


Does * p ++ increment p or what it points to?

1119


Describe the complexity of Binary search, Quicksort and various other sorting and searching techniques..

1034


What are the advantages and disadvantages of c language?

1016


What are different storage class specifiers in c?

1096


How can you draw circles in C?

1156