Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

ilahma / iax0583

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Snippets
  • Members
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • iax0583
  • TASKS for practise
  • task2.c
Find file
BlameHistoryPermalink
  • ilahma's avatar
    Upload New File · d851b72e
    ilahma committed 6 years ago
    d851b72e
task2.c 132 Bytes
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#include <stdio.h>
int main() {
	int i;
	int sum=0;
 for(i=1;i<=6;i++){
		sum+=i;
		printf("%d\n",sum);
	}
	
	
	
	
	
	return 0;
	}