computer language
#include<stdio.h>
Int main()
{
Int n, I, sum=0;
Printf(“enter the number: “);
Scanf(“%d”, &n);
For(i=1;i<=n;i++)
{
Sum +=I;
}
Printf(“sum is:%d”,sum);
Return 0;
}
#include<stdio.h>
Int main()
{
Int n, I, sum=0;
Printf(“enter the number: “);
Scanf(“%d”, &n);
For(i=1;i<=n;i++)
{
Sum +=I;
}
Printf(“sum is:%d”,sum);
Return 0;
}