Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- #include<math.h>
- int main(){
- int countEmp = 10;
- int sum = 0;
- int tal;
- printf("Skriv in tal: "); scanf("%d", &tal);
- While(countEmp <= tal){
- sum += countEmp;
- countEmp = countEmp++;
- }
- getchar();
- getc(stdin);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement