To print numbers from 1 to 500, a "for" loop seems most appropriate. You don't need a nested loop in this case.
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.
write a program to print the series 1/12+1/22+.........+1/n2 ?
This is a directive, not a question.
#include
You can use int i; for (i = 10; i <= 50; i += 2) {//print i} as a program to print even numbers between 10 and 50.
write a program to print A to Z on screen in c?
With a nested loop this is fairly simple. Example, in Java: for (int i = 1; i
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.
Write a c program to print the 100 to 1 nos
write a program to print the series 1/12+1/22+.........+1/n2 ?
This is a directive, not a question.
good morning
Yes.
include <stdio.h> int main (void) { puts ("print"); return 0; }
#include