Question: 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!