From 51c53b67c6acd08773cbc872cf452eb844f4fdc0 Mon Sep 17 00:00:00 2001 From: levidavis04 <114828884+levidavis04@users.noreply.github.com> Date: Wed, 26 Oct 2022 19:52:38 -0700 Subject: Add files via upload --- CST116-Debug10-Pseudocode-Davis.rtf | 61 +++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 CST116-Debug10-Pseudocode-Davis.rtf (limited to 'CST116-Debug10-Pseudocode-Davis.rtf') diff --git a/CST116-Debug10-Pseudocode-Davis.rtf b/CST116-Debug10-Pseudocode-Davis.rtf new file mode 100644 index 0000000..8f1518c --- /dev/null +++ b/CST116-Debug10-Pseudocode-Davis.rtf @@ -0,0 +1,61 @@ +{\rtf1\ansi\ansicpg1252\cocoartf2639 +\cocoatextscaling0\cocoaplatform0{\fonttbl\f0\fswiss\fcharset0 Helvetica;} +{\colortbl;\red255\green255\blue255;} +{\*\expandedcolortbl;;} +\margl1440\margr1440\vieww11520\viewh8400\viewkind0 +\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural\partightenfactor0 + +\f0\fs24 \cf0 Pseudo-code:\ +\ +Declare std statements\ +\ +Set const int SIZE = 10;\ +\ +Int main\ +\{\ +Set varX to SIZE\ +Set varY to SIZE\ +Set varZ to 99\ +\ +Go to GetAndDisplayWelcomeInfo\ +Go to FunctionOne (using varX, varY)\ +Go to FunctionTwo (using varX, varY, varZ)\ +Go to PrintFunction (using varX, varY, varZ)\ +\ +Return nothing\ +\}\ +\ +Void GetAndDisplayWelcomeInfo\ +\{\ +Set Char name[2][20]\ +Print \'93Please enter your first name: \'93\ +Set user input name[0]\ +\ +Print \'93Please enter your last name: \'93\ +Set user input name[1]\ +\ +Print \'93Welcome \'93<