Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Pseudocode Assignment Using C++ Read in a text file containing phsudocode to perform the following tasks. Example of pseudocode that you will use in your

Pseudocode Assignment Using C++

Read in a text file containing phsudocode to perform the following tasks.

image text in transcribed

Example of pseudocode that you will use in your txt file.

image text in transcribed

The following are the pseudocode operations

image text in transcribed

CS 414 Generation Zero Language Assignment Write a program and execute to fill an array 250 locations with the values 250 down to 1. Then go through the array and zero out all values that are multiples ofx and multiples ofy. The value ofx and y are input data to your program. Test your program to turn into me, using 5 and 7 for x and y. Compute the sum and the average of resulting values left in the array, ignoring the zeroed out data. Print out the sum and average and print/dump your last 25 memory location of the array above. Label your output with pencil/pen since you cannot print labels in you program. 1. Write a program to read in two values and compute the sum and difference. Print out the two inputs, the sum and the difference and (pencil) label the answers. Use inputs 2. Write a program to compute the 48th Fibonacci number and print out results showing all digits. Your interpreter handles 10 digit data values. 3

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

Intelligent Databases Technologies And Applications

Authors: Zongmin Ma

1st Edition

1599041219, 978-1599041216

More Books

Students also viewed these Databases questions

Question

Describe several ways to identify high-potential employees.

Answered: 1 week ago