answersLogoWhite

0

#include<stdio.h>

#include<conio.h>

void main (void)

{

int a,b;

for(a=1;a<=5;a++)

{

for(b=1;b<=a;b++)

printf(" ");

printf("\n");

}

getch();

}

This is half pyiramid try this once if this gives output then try half by decrement.

Well i am also trying this.

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

Write a C program that takes a binary file as input and finds error check using different mechanisms?

write a c program that takes a binary file as input and finds error check using different mechanisms.


Write a program that takes a binary file as input and finds error check using different mechanism?

networking


A c program that read a floating number from the keyboard and finds its fourth root?

fourth root is sqrt(sqrt(n));


What is the pseudo code for a program that finds the product of two numbers?

int x; //first number int y; //second number int z = x*y;


Is there a program that finds a selected color and clicks on it?

Impossible sorry. :(


What is the linux program that finds and repair disk error?

fsck


What are the release dates for The Jack Benny Program - 1950 Jack Finds a Double 15-23?

The Jack Benny Program - 1950 Jack Finds a Double 15-23 was released on: USA: 12 March 1965


Is there a Warbear credit cheat?

NO, if someone finds one write it here.


Write aprogram that prints n prime numbers?

Just write a loop that goes through "candidates" (for example, numbers from 2 to 100). To check whether each number is a prime number, write a second loop that checks whether it is divisible by all numbers from 2 up to the number itself. If the first factor you thus find is the number itself, then it is a prime number. For example, in Java:...for (i=2; i


How to write a program in python to print the reverse of a number?

In python, type the following into a document. NOTE: Sentences following a # symbol are comments, and are not necessary for the program to run. #!/usr/bin/python #This program takes a input from a user and reverses it. number = input("Type a number: ") #This takes input from a user. a = len(number) #This finds the length of the number reverse = "" #This sets the variable reverse to an empty string. for i in number: a = a-1 #The places in a string start from 0. The last value will be the length minus 1.reverse = reverse + number[a] #Makes the number's last digit the new string's first. print("The reverse of", number, "is", reverse + ".") #prints the resulting string. This program will take any sequence of characters and reverse them. The final value is a string, but if an integer is needed, one needs only to add the line reverse = int(reverse) above the print statement. However, this will stop the program from being able to reverse strings, as it is not possible to convert a string to an integer if it is not a number.


How do you compile and execute a java program which finds out the highest of any five numbers?

it will be destroyed.


What is driver manager?

Driver Manager is a program that scans and finds out what is missing in your computer such as a missing driver.