Checkout
checkout
view
Your Cart Your Cart: item(s)
Subjects -> Computer Science -> Other -> Posting #55458
Add to Shopping Cart
$2.19 Instant Download
Computer Science, Other
Year 2

Variables, output of program


Main module
  Call Input module
  Call Calculations module
  Call Output Module
  Call Greeting module
  End Program

Input module
  Declare LastName as a character variable
  Declare Num as interger
  Write "Enter your last name"
  Input LastName
  Write "Enter the course number"
  Input Num
  Return

Calculations module
  Declare NewNum as interger
  NewNum = 10 * Num
  Return

Greetings module
  Write "Have a nice day!"
  Return

Output module
  Write Name, NewNum
  Return

1. List the varibables: Declare Num as Interger
                                Declare NewNum as Interger

2. Show the output of the screen when the program executes with a value of 200.
    2000

3. When this program runs, what will be the last statement executed?
    NewNum

By OTA:  Charlene Li, MIWP (IP)

OTA Rating:  4.4/5

Your Price:  $2.19  (original value ~$7.98)

What's included:

  • Plain text response
$2.19 Download Add to Cart

Add to Shopping Cart
$2.19 Instant Download

Page generated in 0.0127 seconds

About Us ·  Contact Us ·  Samples ·  Solutions ·  Legal Terms and Conditions ·  Privacy Policy

©2008 SolutionLibrary.com

Search for Solutions About Us Samples