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

Status
Not open for further replies.

m a e 0 9

Grasshopper
#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
 
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;
}
 
Status
Not open for further replies.

About this Thread

  • 1
    Replies
  • 397
    Views
  • 2
    Participants
Last reply from:
FoXOnE23

Trending Topics

Online now

Members online
1,125
Guests online
1,864
Total visitors
2,989

Forum statistics

Threads
2,332,474
Posts
29,265,451
Members
1,144,330
Latest member
techtaib18
Back
Top