how do we use loops in c plus plus programing and what are basic differences between do,for and while loop
Write a c program to print the 100 to 1 nos
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.
#include
write a program to print the series 1/12+1/22+.........+1/n2 ?
fdsgfhgdfhgdf
This is a homework question and does not deserve an answer because you will learn nothing other than being lazy.
write a program to print A to Z on screen in c?
c the book mastering c
123454321
Reference:http:cprogramming-bd.com/c_page2.aspx# strange number
printf ("initials");
// simple program to generate first ten prime numbers #include<stdio.h> #include<conio.h> void main() { int c,i,j,n; clrscr(); for(i=2;i<30;i++) { c=0; for(j=2;j<i;j++) { if(i%j==0) {c=c+1; } } if(c==0) printf("%d",i); } getch(); }