// A program to display series from 1 to 50.
#include#include
void main()
{
int i=1;
clrscr();
for(int i=1; i<=50; c++)
{
Printf(%d,\n”; i);
}
getch();
}
Output:
// A Program to find odd or even.
// A Program to add two numbers.
// A program to find the person is eligible for voting or not.
//A C program to find largest number among 3.
// A C program to perform arithmetic operations using switch case.
// A program to print the name 10 times.
//A C program to print ODD numbers from 1 to N using while loop.
//A C program to print ODD numbers from 1 to N using for loop.
// A program to print the name 10 times.
//A C program to print ODD numbers from 1 to N using while loop.
//A C program to print ODD numbers from 1 to N using for loop.
0 Comments