Date post: | 01-Oct-2015 |
Category: |
Documents |
Upload: | david-alecsandru |
View: | 73 times |
Download: | 5 times |
Problema 1#include "stdio.h"
#include "conio.h"
int main()
{
int i,n,s ;
printf (" n= ");
scanf("%d",&n);
if(n>=1)
{
for(s=0,i=1;i