answersLogoWhite

0

main(){

int temp,prev,i;

for(i=2,prev=1;prev<=256;i++){

printf("%d ",prev);

temp=i;

i=i*prev;

prev=temp;

}

}

User Avatar

Wiki User

17y ago

What else can I help you with?

Related Questions

Write a C program to print the following series 112 122 . 1n2?

write a program to print the series 1/12+1/22+.........+1/n2 ?


Write a java script program to print first ten odd natural numbers in C?

Q.1 Write a program to print first ten odd natural numbers. Q.2 Write a program to input a number. Print their table. Q.3 Write a function to print a factorial value.


Write a c program to print the 100 to 1 nos?

Write a c program to print the 100 to 1 nos


How do you write multiplication table program in php?

// example of 1..12x12 table for($i = 1; $i &lt;= 12; $i++) { for($j = 1; $j &lt;= 12; $j++) { print ($i * $j) ." "; } print "\n"; }


Write a qbasic program to accept a no and print it multiple table?

Cls print the multiples tables of 1 to 5 for x=1 to 5 for y=1 to 10 print x;"*";y;"=";x*y next y print print next x end


Write a program to print following series 100 81 64 49 36 25 16 9 4 1 by using for loop .?

10 rem for next 20 for i=10 to 1 step -1 30 ? I^2; 40 next i 50 end


Write a program to Print pyramid of numbers using java?

hi question is here, 1 1 2 1 2 3 1 2 3 4


Write a program to print an astrick in 1st line 2 astricks in 2nd line and so on 25 astricks in 25th line?

With a nested loop this is fairly simple. Example, in Java: for (int i = 1; i


Write a program to print following series 1 01 010 1010 .?

Program to print one & zero Alternatively#include#includevoid main(){int i,j,n,k=1;clrscr();printf("Enter the Iteration Value : ");scanf("%d",&n);for(i=1;i


Write a program in C to print 1 to10 as 1 2 3 4 5 6?

int main() { for(int i = 1; i


How do you write a c program to print the pattern 1 1 0 1 1 0 1 1 0 1?

for (int i=0; i&lt;3; ++i) printf ("1 1 0 "); printf("1\n");


Program for print prime all number from 1 to 100 in foxpro?

Oh, what a lovely request! In FoxPro, you can create a program to print all prime numbers from 1 to 100 by using a loop to check each number for divisibility only by 1 and itself. If it meets this criteria, you can print it out on the screen. Remember, every number is unique and special, just like a happy little tree in a vast forest.

Trending Questions
Why on load or off load tap changer is always connected in the primary side of a power or distribution transformer. And why distribution and power transformer are rated MVA? What was Eli Whitney's cotton gin made of? Who invented subways? Who first invented techonology? What is outline function in c plus plus language? How do you use conditional in a sentence? What types of plugs are used in houses and what is the voltage and frequency of the household AC electrical service which is supplied? Is vlsi design a theory or derivation subject? Which terminal does the current flow in a circuit? Sentence with word machine? How are Microphones and ears alike? What are nested frames? How a 1N4007 diode become a 1000V diode and 1N4005 become a 600V diode? How many amps will a 55 KW motor take? What are the various phases of an instruction cycle Give the micro operation of fetch and decode phases? Palindrome in c plus plus? What is the reason for using 250 percent multipler for sizing motor circuit breakers in NEC? Will 2.5v pulse voltage damage the fuel injectors when it should be 3v - 1.0v e32 m70 v12 with two ECM elec control module switched n still same voltage from both sides whats cause high pulse voltage? Administers programs aimed at protecting the environment improving waterway navigation flood and beach erosion control and water resources development? What is the most common method of communicating the shape and size of an object that is intended for manufacture?