Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. (10pts) Construct an algorithm and draw flowchart for the following: (x and y are input) x>0 x0 y>0 y0 10 y>0 then z =

1. (10pts) Construct an algorithm and draw flowchart for the following: (x and y are input) x>0 x0 y>0 y0 10 y>0 then z = x-y then z= x+y y0 then z = x+5 then z = 0 2. (10pts) Convert the following algebraic expressions into valid FORTRAN statements. a) y=(x-7-x)-5 b) y= /(x+5) H c) a=7x-y? 2x-1 1 + 3. (10pts) Show the output of the following program (use for blank spaces). A= 12.3459 I=512894 B=-1.567 12-5-x| C='DIFFUSION' PRINT 10, A, B, C, I FORMAT (T5,F8.3, 2X,E12.5,5X, TL2, A10, /,15)

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

Database Concepts

Authors: David Kroenke, David Auer, Scott Vandenberg, Robert Yoder

8th Edition

013460153X, 978-0134601533

More Books

Students also viewed these Databases questions

Question

What are the six personality types in John Hollands career theory?

Answered: 1 week ago

Question

What are the general types of interviews? Explain each.

Answered: 1 week ago

Question

6 How can HRM contribute to ethical management and sustainability?

Answered: 1 week ago