What's new

Pahelp naman guys hindi po kase ako marunong tapos wala ding tutorial

m a e 0 9

Leecher
#include<stdio.h>

int main(){
int thisThing, thatThing;
int thoseThings = sumThing(thisThing, thatThing);
printf("%d", thoseThings);



Input
Two int inputs separated by a space
400·20

Output
One int output
420
 

FoXOnE23

Addict
C:
#include <stdio.h>

int sumThing(int x, int y){
    return x + y;
};

int main(){
    int thisThing, thatThing;
    scanf("%d %d", &thisThing, &thatThing);
    printf("\n");

    int thoseThings = sumThing(thisThing, thatThing);
    printf("%d", thoseThings);

    return 0;
}
 
Last edited:

Similar threads

Top