answersLogoWhite

0


Best Answer

It is a three-way case statement. ( Arithmetic IF statement)

IF(exp) n1,n2,n3

meaning

go to n1 if expr < 0 ( value is negative)

go to n2 if expr = 0 ( value is zero)

go to n3 if expr > 0 ( value is positive)

IF(expr1-expr2) n1,n2,n3

meaning

go to n1 if expr < expr2

go to n2 if expr = expr2

go to n3 if expr > expr2

reference:

Fortran 77 with 90

Applications for scientific and engineers

second edition

RAMA N. REDDY

CAROLA A. ZEIGLER

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What does Fortran statement If left paren If left paren 2 times A comma Y Rt paren Rt paren 6 comma 5 comma 6 mean?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

The body of for loop 1 Executes at least once 2 Executes zero or more times 3 Can not be executed more than100 times 4 Consists one and only one statement 5 Can not execute infinitely?

1. false 2. true 3. false 4. true, but that statement can be a compound statement, ie a statement-block between {} 5. false


How i can Write the program in fortran using goto statement?

The use of GOTOs in programming is generally considered to be bad form, because it very rapidly leads to "spaghetti code" where it is difficult or impossible to follow the program's logic flow. However, given Fortran's comparatively weak set of flow controls, there are times when a GOTO is unavoidable or actually clearer than using a more-structured layout. A simple example would be a subroutine that checks its arguments for validity and exits immediately if it finds something incompatible. The alternatives would be (A) Put a GOTO 99999 after each invalid condition is detected, where 99999 is the program's RETURN statement (B) Set flags after each condition, falling through and checking more and more flags until you "naturally" reach the module's RETURN. An example of (A) would be (using slight variations on Fortran 90 syntax) subroutine foo(x,y) implicit none real*4 x, y ! Check for negative arguments if (x &lt; 0.0) then print *, 'Argument X is negative' goto 99999 endif if (y &lt; 0.0) then print *, 'Argument Y is negative' goto 99999 endif ! (Code body goes here ....) 99999 continue return end


Differences between if else and while loop?

Easy: if-else is not a loop; while, for and do-while are loops.if-else just run once, but do-while run many times.


What is looping in c plus plus?

A loop in computer languages is a set of statements that execute repeatedly, based on some criteria.In C and C++, the three looping statements are while, do, and for...while (test-expression) statement;/* statement executes zero or more times, until test-expression is false, test first */do statement while (test-expression);/* statement executes one or more times, until test-expression is false, test last */for (init-expression, test-expression, loop-expression) statement;/* init-expression executed once, at beginning *//* statement executes zero or more times, until test-expression is false, test first *//* loop-expression evaluated at end of each iteration */Often, statement, is a set of statements, such as...while (test-expression) {... statements}


How do you write a program that prompts the user to enter a short message and the number of times it is to be displayed and then displays the message the required number of times in Python?

Sorry, I'm not doing your homework for you.I suggest you flowchart the problem, execute it yourself by hand on the flowchart a few times to make sure it works, then convert the flowchart to code in whatever language the teacher told you to use.That's what I did back in 1973 with my program to play tic-tac-toe, that I had to punch on cards using the FORTRAN II programming language when I first started on computers. Hand execution of a program though tedious and boring is a very effective means to find bugs and gain insight to the way computers operate.

Related questions

Should you use a comma after which?

Yes, a comma should be used after &quot;which&quot; when it introduces a nonrestrictive clause in a sentence.


How many times you space before a comma?

Do not put a space before a comma. Put one space afterthe comma.


Why does const double PI equals 4 times atan left paren 1 right paren outside main crash?

You mean this: const double PI = 4*atan(1); Well, it should be either const double PI = 3.14159265358979323846264338327950288 or double PI = 4*atan(1); /* without const */


Does a comma go after a name all the times?

No, a comma does not always follow a name. A comma is typically used before a name in a sentence when addressing someone directly, but it is not always necessary in all contexts.


Should there be a comma after the acronym LLC?

A comma after "LLC" is not grammatically necessary (Authority: The New York Times Manual of Style and Usage by Allan M. Siegal and William G. Connolly, Times books: New York. 1999.


How many times do you space after a comma?

Once. The only time to use more than one space is after a period.


Do you use a comma before or after the word but?

A comma should be used before the word &quot;but&quot; when it is connecting two independent clauses in a sentence. If &quot;but&quot; is joining two words or phrases within a single clause, then a comma is not necessary.


What is starting value growthfactor thegrowthrate as a percent for the given exponential function V equals 200 left paren 3 times 5 Superscript StartFraction t Over 9 EndFraction Baseline right paren?

V = 200{3*5^(t/9)} = 600*5^(t/9) So starting value = 600 growth factor = 1.1958 (approx) growth rate = 19.58 %


What are iterative statements?

An iterative statement is a looping statement, such as a 'for', 'while', or 'do-while' statement. They cause statements to be repeated (iterated) multiple times.


How many times do you space after a comma when it is used as puncuation mark?

In modern writing style, it is common to use only one space after a comma when it is used as a punctuation mark. The double-spacing after a comma is a convention that dates back to the typewriter era, but it is no longer necessary with the use of modern word processing software and typesetting tools.


What does FT mean on a bank statement?

financial times


Does the comma go before or after the quotation marks if it's in the middle of the sentence and if it's the title of an article?

The comma goes before the closing quotation mark when it's part of the title of an article within a sentence, as in &quot;The New York Times,&quot; reported on the topic.