Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- /* run this program using the console pauser or add your own getch, system("pause") or input loop */
- void topla(void);
- int main(void) {
- topla();
- }
- void topla (void)
- {
- int a,b,toplam;
- printf("ilk sayiyi gir. \n");
- scanf("%d", &a);
- printf("ikinci sayiyi gir. \n");
- scanf("%d", &b);
- toplam=a+b;
- printf("toplam = %d", toplam);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement