Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int a[5] = { 110, 20, 30, 40, 22 };
- int summe = 0;
- int main()
- {
- for (int i = 0; i<=5; i++){
- summe = summe + a[i];
- }
- printf ("Summe = ", summe);
- return 0;
- }
- ODER ALS 8 BIT ZAHLEN
- byte a[5] = { 110, 20, 30, 40, 22 };
- byte summe = 0;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement