Wiki User
∙ 11y ago#include<stdio.h>
#include<conio.h>
void main()
{
int c=1,i;
unsigned int s=0;
clrscr();
for(i=1,(i<=15;i++))
{
if(i%2==0)
{
s=s+i;
c=c+i;
}
}
printf("/n sum of the first 15 even numbers is%d",s);
printf("/n square of the sum is: %d",(s*s));
getch();
}
Wiki User
∙ 11y agowrite a c program to accept a number and generate a square root cube and exponential values
fdsgfhgdfhgdf
program to find maximum of two numbers using pointers
N = x If y < N then N = Y If z < N then N = z Print N
VBnet program to find the prime numbers between 100 to 200?
write a c program to accept a number and generate a square root cube and exponential values
write a vb program to find the magic square
Please visit http://talentsealed.blogspot.com/2009/10/to-find-sqaure-of-numbers-using-c.htmlfor the answer.
write an algorithm and draw a flow chart to find perimeter of a square
Just write a method or function that calculates the LCM for two numbers at a time. Then calculate the LCM for the first two numbers, get the LCM of the result with the third number, etc.Just write a method or function that calculates the LCM for two numbers at a time. Then calculate the LCM for the first two numbers, get the LCM of the result with the third number, etc.Just write a method or function that calculates the LCM for two numbers at a time. Then calculate the LCM for the first two numbers, get the LCM of the result with the third number, etc.Just write a method or function that calculates the LCM for two numbers at a time. Then calculate the LCM for the first two numbers, get the LCM of the result with the third number, etc.
normally
write a lex program to delete space from the program
int first= 1;
First you will need to have some basic programming knowledge. You can use this to help make the program that is needed.
write an assembly language program to find sum of N numbers
write a shell program for finding out gcd of three given numbers? write a shell program for finding out gcd of three given numbers? write a shell program for finding out gcd of three given numbers? check bellow link http://bashscript.blogspot.com/2009/08/gcd-of-more-than-two-numbers.html
fdsgfhgdfhgdf