answersLogoWhite

0

main()

{

int i, n;

printf("Enter a positive integer\n");

scanf("%d", &n);

for(i=1;i<=n;i++) printf("%d-",i);

printf("\b\n");

}

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

What are the release dates for The O-C- - 2003 The Nana 1-23?

The O-C- - 2003 The Nana 1-23 was released on: USA: 31 March 2004 Japan: 23 December 2006


What are the release dates for The Girl from U-N-C-L-E- - 1966 The Low Blue C Affair 1-23?

The Girl from U-N-C-L-E- - 1966 The Low Blue C Affair 1-23 was released on: USA: 23 February 1967


What are the ratings and certificates for The O-C- - 2003 The Nana 1-23?

The O-C- - 2003 The Nana 1-23 is rated/received certificates of: Australia:PG USA:TV-PG


Determine the highest of the three input numbers using flowchart?

(start) /a=0 c=0\ \b=0 / /input a/ /input b/ /input c/ /a&gt;b\ no /b&gt;c\ yes /display b/ -&gt; (a) \ / \ / yes no /a&gt;c\ no /display c/ -&gt; (a) \ / yes /display a/ &lt;- (a) (end)


Saturn Vue has a blinking 'C' in the digital display to the right of the temperature display above the odometer - what does the 'C' mean?

Celsius


Write c programs to display 10 line biodata?

A C++ program can be used to write C programs that will display 10 lines of biodata. Many types of C programming can be written with a C++ program.


What are the divisors of 276?

276 = 2^2*3*23 So the divisors of 276 are 2^a*3^b*23^c where 0&lt;=a&lt;=2, 0&lt;=b&lt;=1 and 0&lt;=c&lt;=1. That is, 1, 2, 3, 4, 6, 12, 23, 46, 69, 92, 138 and 276.


How do you get a output like 1 23 456 78910?

in java,, class floydstriangle{public void main(){int a,b,c=1;for(a=1;a


What is the chromatic scale and fingering from low G to High G?

UP F-1 F#-2 G-open G#-23 A-12 A#-1 B-2 C-open C#-12 D-1 D#-2 E-open F-1 Down F-1 E-open Eb-2 D-1 Db-12 C-open B-2 Bb-1 A-12 Ab-23 G-open Gb-2 F-1


What are the release dates for W-I-T-C-H- - 2004 The Battle of Meridian Plains 1-23?

W-I-T-C-H- - 2004 The Battle of Meridian Plains 1-23 was released on: USA: 25 July 2005


How was the element rutherfordium made?

An example of nuclear reaction to obtain an isotope of Rf is:Cf-249 + C-12----------Rf-257 + 4n


What does the C stand for in LCD?

Liquid Crystal Display