Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

ALLENGE TIVITY 7.5.3: Calling functions. Jump to level 1 rite code that calls the function PutAge passing the studentAge variable as an argument Variables Not

image text in transcribed
image text in transcribed
ALLENGE TIVITY 7.5.3: Calling functions. Jump to level 1 rite code that calls the function PutAge passing the studentAge variable as an argument Variables Not shown when editir 4 1 Function PutAge(integer studentAge) returns nothing 2 Put "He is " to output 3 Put studentAge to output Put years old." to output 5 6 Function Main() returns nothing 7 integer studentage 8 9 studentAge - Get next input 10 | 11 // Your solution goes here 12 I Code Flowchart 2 Check Jump to level 1 Write code that calls PutPoints passing firstHalfPoints and secondHalfPoints as arguments (in that order) Variables Not shown when editi 1 Function PutPoints(integer firstHalfPoints, integer secondHalfPoints) 2 integer totalPoints 3 4 totalPoints = firstHalfPoints + secondHalfPoints 5 6 Put "Total points to output 7 Put total points to output 9 Function Main() returns nothing 10 integer firstHalfPoints 11 integer secondHalfPoints 12 13 firstHalfPoints - Get next input 14 secondHalfPoints - Get next input 15 16 // Your solution goes here 17 Code Flowchart Check ALLENGE TIVITY 7.5.3: Calling functions. Jump to level 1 rite code that calls the function PutAge passing the studentAge variable as an argument Variables Not shown when editir 4 1 Function PutAge(integer studentAge) returns nothing 2 Put "He is " to output 3 Put studentAge to output Put years old." to output 5 6 Function Main() returns nothing 7 integer studentage 8 9 studentAge - Get next input 10 | 11 // Your solution goes here 12 I Code Flowchart 2 Check Jump to level 1 Write code that calls PutPoints passing firstHalfPoints and secondHalfPoints as arguments (in that order) Variables Not shown when editi 1 Function PutPoints(integer firstHalfPoints, integer secondHalfPoints) 2 integer totalPoints 3 4 totalPoints = firstHalfPoints + secondHalfPoints 5 6 Put "Total points to output 7 Put total points to output 9 Function Main() returns nothing 10 integer firstHalfPoints 11 integer secondHalfPoints 12 13 firstHalfPoints - Get next input 14 secondHalfPoints - Get next input 15 16 // Your solution goes here 17 Code Flowchart Check

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Relational Database And SQL

Authors: Lucy Scott

3rd Edition

1087899699, 978-1087899695

More Books

Students also viewed these Databases questions

Question

How wide are Salary Structure Ranges?

Answered: 1 week ago