#include <stdio.h>

int add(int a, int b);

int main() {
    int i;
    
    i=1;
    while(i<=10){
        printf("%d\n", i);
        i++;
    }   

    printf("%d\n", add(3, 5));

    int arr[10];
    for(int i=0;i<10;i++){
        scanf("%d", &arr[i]);
        printf("%d ", arr[i]);
    }


    
}

int add(int a, int b){
    int c = a + b;
    return c;
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: