1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Naddik [55]
3 years ago
14

Explain how to use fortran programming in details

Computers and Technology
1 answer:
Natali [406]3 years ago
6 0

Answer:

1. Write the program you want to write.

2. Compile the program. To do this, type f77 xxxxx.f into the command line. If this gives an error, you probably haven't installed a Fortran compiler like for example gfortran yet.

3. Run the program. The compiler has produced a file called a.out. Run this file by typing ./a.out.

4. Understand what you just wrote.

5. Add your comment. To add a comment that has an entire line on its own, write a c directly into a new line, without the 6 spaces. After that, write your comment. You should leave a space between the c and your comment for better readability, but this isn't required. Note that you have to use a ! instead of a c in Fortran 95 and newer.

To add a comment in the same line as code, add a ! where you want your comment to begin. Again, a space isn't required, but improves readability.

You might be interested in
In the 1960s, techniques were developed that allowed individuals to fool the phone system into providing free access to long dis
ycow [4]

Answer:

A

Explanation:

4 0
3 years ago
He following is a string of ASCII characters whose bit patterns have been converted into hexadecimal for compactness: 4A EF 68 6
almond37 [142]

Answer:

a) Please see below as the answer is self explanatory.

b) odd parity.

Explanation:

As the hexadecimal system, has as its base the decimal 16, which is the 4th power of 2 (base of the binary system), each hexadecimal digit can be expressed of a linear combination of 4 binary digits, as follows:

Hex = b₃*2³ + b₂*2² + b₁*2¹ + b₀*2⁰, where bₙ = 0 or 1.

So, we can convert the hexadecimal bit pattern to binary, as follows:

4A = 01001010

Now, if the leftmost bit is a parity bit, the ASCII code is represented by the 7 rightmost bits:

⇒ ASCII = 1001010 = 74

Repeating the same process for the remaining pairs of hex digits, we have:

EF = 11101111 ⇒ ASCII = 1101111  = 111

68 = 01101000 ⇒ ASCII = 1101000 = 104

20 = 00100000 ⇒ ASCII = 0100000 = 32

C4 = 11000100 ⇒ ASCII = 1000100 = 68

EF = 11101111 ⇒ ASCII = 1101111  = 111

E5 = 11100101 ⇒ ASCII = 1100101 = 101

b) Due to any pair of digits has an odd number of 1s, the parity used is odd parity.

7 0
3 years ago
Which of the following can a cell contain?
vredina [299]
I think it could be All of these.....
5 0
3 years ago
Read 2 more answers
Which sentence best describes the executive branches of state
melamori03 [73]

Answer:

B... I think...

Explanation:

The executive branch of every state is headed by an elected Governor. Most states have a plural executive, in which several key members of the executive branch are directly elected by the people and serve alongside the governor.

8 0
3 years ago
Write a program that inputs the following information from the user, using the Win32 Read-Console function: first name, last nam
Jobisdone [24]

Answer:

Following are program using c#

using System;

class detail

{

 static void Main() // main function

 {

     string first_name,last_name, number1; // variable declaration

     int age1;                             //variable declaration

Console.WriteLine("Enter the First Name  ");

first_name = Console.ReadLine(); // read input by win32

Console.WriteLine("Enter the Last Name  ");

last_name = Console.ReadLine(); // read input by win32

Console.WriteLine("Enter the Age  ");

age1 = Int32.Parse(Console.ReadLine()); // read input by win32

Console.WriteLine("Enter the Phone Number  ");

number1 = Console.ReadLine(); // read input by win32

Console.WriteLine("Following are the data which are  entered  ");

Console.WriteLine("First Name  :"+first_name); // display data

Console.WriteLine("Last Name   :"+last_name); // display data

Console.WriteLine("Age         :"+age1);//display data

Console.WriteLine("Phone Number:"+number1); // display data

 }

}

Explanation:

In this program we have declared  first_name,last_name, number1 variable as the string type and age1 as integer type after that we are taking input from user by win32 Read console i.e Console.ReadLine()  function and finally printed the same  information.

Output:

Enter the First Name

san

Enter the Last Name

lan

Enter the Age

45

Enter the Phone Number

9045454545

Following are the data which are  entered

First Name       :san

Last Name        :lan

Age                   :45

Phone Number :9045454545

4 0
4 years ago
Other questions:
  • You are performing a manual WLAN RF site survey in a location that has several long hallways with small offices on both sides. Y
    8·1 answer
  • How do you take a screen shot with a toshiba computer?
    13·2 answers
  • The first step in the information processing cycle involves the _____ of data.
    10·1 answer
  • Difference between query and filter<br><br>​
    12·1 answer
  • Using computers in place of paper to design components, products, and processes is referred to as ______.
    11·1 answer
  • HELP WILL GIVE BRAINIEST IF YOU HELP ME.....
    8·2 answers
  • To exclude members of a group from the basic permissions for a folder, which type of permission would you assign? Deny Allow Mod
    13·1 answer
  • Write three statements to print the first three elements of vector runTimes. Follow each with a newline. Ex: If runTimes = {800,
    8·1 answer
  • Help FAST PLS in complete sentences discuss the process used to determine your credit score. Do you think it is fair? Why or why
    14·1 answer
  • Information should be________to ensure more than one source provides the same factual information. a. repeated c. cross-lined b.
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!