answersLogoWhite

0

int main() { for(int i = 1; i <= 10; i++)
printf("%d ", i);


return 0;
}

User Avatar

Wiki User

15y 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 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


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.


How do you write a program to print 1-47-10..........-40?

#include&lt;stdio.h&gt; int main(void) { printf ("1-47-10..........-40\n"); return 0; }


How do you write a basic program to calculate the square and cube of members 1 to 10?

10 CLS 20 FOR N = 1 TO 10 30 PRINT N, N^2, N^3 40 NEXT N 50 PRINT: PRINT "Oooweee! That was such fun!" 60 END


What is the answer to10 to the power of negative 7?

1/107 1/10000000