12345
1234
123
12
1
write a program to print the series 1/12+1/22+.........+1/n2 ?
echo 'print a pattern'
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.
HIYou can first include the 1st program in ur 2nd program using # include and then whatever be the output from frst it can be used in second program.pankajThat's what popen is good for. Read the manual.
Such a program is called a Quine. http://en.wikipedia.org/wiki/Quine_(computing)
write a program to print the series 1/12+1/22+.........+1/n2 ?
write a program to print A to Z on screen in c?
echo 'print a pattern'
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.
HIYou can first include the 1st program in ur 2nd program using # include and then whatever be the output from frst it can be used in second program.pankajThat's what popen is good for. Read the manual.
http://www.assignmentsclub.com/
Redirect the output to a file via the command line. Print the file. For example, if the program is named foo.exe, the output can be redirected to a file named foo.txt with the following command: foo.exe > foo.txt Everything sent to std::cout by the program will now be sent to the file instead. Everything sent to std::cerr will be displayed on screen as normal.
Algorithm: multiples input: two positive integers, m and n output: print first n multiples of m i = m; for j = 1 to n print i i = i + m; next j
Such a program is called a Quine. http://en.wikipedia.org/wiki/Quine_(computing)
With a nested loop this is fairly simple. Example, in Java: for (int i = 1; i
This is a directive, not a question.
good morning