answersLogoWhite

0

To print unique no using for loop?

Updated: 8/17/2019
User Avatar

Wiki User

15y ago

Best Answer

int main (void) { puts ("unique"); }

User Avatar

Wiki User

15y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: To print unique no using for loop?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you print square using for loops?

how to print "square" using for loop


How do you print first 10 even number using for loop in q basic?

For N = 1 to 10 Print 2 * N Next N


How do you write a c program to print n no's required using while loop?

int i=0; while (i++<n) { /*...*/ }


How do you print 1 to 100 without using loop in php?

The best way to print the numbers 1 to 100 in PHP without using a loop is with the following code: echo implode("<br>", range(1,100)); You can replace the <br> with anything that you want to separate the numbers, such as dashes. I used a line-break in the example.


How do you prepare a right angled triangle of using for loop?

for(int i=1;i<=n;i++) { for(int j=1;j<=i;j++) { print what u need } print to go to next line }


How to draw Flowchart to print prime numbers from 1 to 100 using while loop in c language?

c the book mastering c


How can you print 1 2 3 2 1 using for loop?

It may not be worthwhile to write a loop at all in such a simple case. On the other hand, you can make two loops, one for the ascending part, and one for the descending part. Finally, you can use a single loop, and a condition inside it: use a counter "i" = 1 to 5; if i < 4 print i, otherwise print 6 - i. This latter would be useful if, instead of simply printing the values indicated, you needed several commands within the loop; in this case, having a second loop is simply not practical.


How do you print the numbers 1 through 50 using a do-loop while statement in Visual Basic.NET?

x as int = 0 while x < 50 x = x + 1 print x endwhile


Write a program using while loop?

//program to find the factorial value f any number using while loop #include<stdio.h> void main() { int i,n,fact=1; printf("Enter the number\n"); scanf("%d",&n); i=n; while (i>=1) { fact=fact*i; i--; } printf("The factorial value=%d",fact); } the above is a program for calculating tha factorial value of any number which is entered by the user


How do you print an array in JavaScript without using a loop?

var fruits = ["Banana", "Orange", "Apple", "Mango"]; var x=fruits.valueOf(); alert(x);


How to print the reverse of an array without using backward loop?

int youArray[arraysize] = {...};...for (int i = 1; i


How will you print 10 studens name by using while loop statement in QBasic?

cls input "enter a name"; a$ b=1 while b <=1 print a$ b = b+1 wend end