Purchase Solution

Three Simple Pseudocode Examples

Not what you're looking for?

Ask Custom Question

Write a pseudocode statement that generates a random number in the range of 1 through 100 and assigns it to a variable named rand.

Design a function named timesTen that accepts an Integer argument. When the function is called, it should return the value of its argument multiplied times 10.

Design a function named getFirstName that asks the user to enter his or her first name, and returns it.

Purchase this Solution

Solution Summary

This solution provides three simple pseudocode examples.

Solution Preview

Write a pseudocode statement that generates a random number in the range of 1 through 100 and assigns it to a variable named rand.

Different programming languages have different methods for getting a random number. ...

Purchase this Solution


Free BrainMass Quizzes
Basic Networking Questions

This quiz consists of some basic networking questions.

Excel Introductory Quiz

This quiz tests your knowledge of basics of MS-Excel.

Javscript Basics

Quiz on basics of javascript programming language.

Basic Computer Terms

We use many basic terms like bit, pixel in our usual conversations about computers. Are we aware of what these mean? This little quiz is an attempt towards discovering that.

Word 2010: Table of Contents

Ever wondered where a Table of Contents in a Word document comes from? Maybe you need a refresher on the topic? This quiz will remind you of the keywords and options used when working with a T.O.C. in Word 2010.