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

Write a program in c using only loops to print *
* *
* *
*******

Answer Posted / veera

#include<stdio.h>
#include<math.h>
main()
{
clrscr();
printf("*");
printf("\n");
printf("* *");
printf("\n");
printf("* *");
printf("\n");
printf("*******");
getch();
}

Is This Answer Correct ?    2 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a null string in c?

1098


Design a program which assigns values to the array temperature. The program should then display the array with appropriate column and row headings.

2363


What is the difference between fread and fwrite function?

1128


What is the purpose of realloc()?

1195


Hi how many types of software editions are there and their difference (like home editions, enterprise, standard etc) can u please help me

1990


A program is required to print your biographic information including: Names, gender, student Number, Cell Number, line of study and your residential address.

1764


What do header files do?

1133


Write a program to generate random numbers in c?

1149


the 'sizeof' operator reported a larger size than the calculated size for a structure type. What could be the reason?

1040


What is gets() function?

1184


How can I get the current date or time of day in a c program?

1267


How is a null pointer different from a dangling pointer?

1082


Write a program to check palindrome number in c programming?

1062


To print the pattern 1 2 3 4 5 10 17 18 19 6 15 24 25 20 7 14 23 22 21 8 13 12 11 10 9

2683


What is the difference between array_name and &array_name?

1349