Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

This is an exercise in using the C * PCSS system, and in running programs in batch mode to save time. Make sure you have

This is an exercise in using the C* PCSS system, and in running programs in batch mode to save time. Make sure you have viewed Lecture 2 and installed PCSS creating the directory "parallel", and have downloaded the zip file xc.zip from this week into the "parallel" directory.
Copy the batch script xc.ps1(xc.sh) to a1.ps1(a1.sh)(assignment 1). On un*x, make a1.sh executable with the command chmod +x a1.sh. Edit a1.ps1(a1.sh). Copy and paste the following 10 data items after the run command and before the exit command. After your paste, make sure there are 10 numbers. They can be in any combination of 1 per line to 10 per line.
9.8204.2504.3306.6307.500
1.1108.5307.6108.8104.310
Save the a1 file, then run it using the SumFloatInput.c program. The program will read and sum the 10 numbers as if you had typed them in at the command line. The result should be:
sum =62.90
Post your a1 file to this assignment. If Classes gets upset at the filetype, zip it, then post the zip.

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

Data Management Databases And Organizations

Authors: Watson Watson

5th Edition

0471715360, 978-0471715368

More Books

Students also viewed these Databases questions

Question

What, if any, limitations exist for arbitrators?

Answered: 1 week ago

Question

What are the disadvantages of arbitration?

Answered: 1 week ago