M m a e 0 9 Journeyman Nov 30, 2021 #1 #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
#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
F FoXOnE23 Honorary Poster Nov 30, 2021 #2 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: Nov 30, 2021 Upvote 0 Downvote
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; }