# Cascaded function call question

**URL:** https://discourse.processing.org/t/cascaded-function-call-question/15688
**Category:** Beginners
**Tags:** homework
**Created:** [November 21, 2019, 12:34pm UTC](https://discourse.processing.org/t/cascaded-function-call-question/15688 "2019-11-21T12:34:23Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![meow](https://avatars.discourse-cdn.com/v4/letter/m/c57346/32.png) [@meow](https://discourse.processing.org/u/meow)
#### Post date: [November 21, 2019, 12:34pm UTC](https://discourse.processing.org/t/cascaded-function-call-question/15688/1 "2019-11-21T12:34:23Z")

</div>

```auto
int chi(int a) { 
   int b = foo(a);
   if(b < 5 ) {
      return a - b;
   }
   else {
      return a - b + 10;
   }  
} 

```

- 47
- 283
- 0  
how to do this question?

---

_[View the full topic](https://discourse.processing.org/t/cascaded-function-call-question/15688)._
