Fortran95程序设计 实验报告及答案)
实验报告配套教材:
书名:Fortran95程序设计
作者:彭国伦
出版社:中国电力出版社
实验报告概述:
一、实验目的 1、掌握源程序的书写格式; 2、掌握FORTRAN 90中基本数据类型及其描述、运算; 3、掌握基本语句的使用 二、实验内容 编写简单程序代码 1、整数类型 program ex0404 integer a a=3 write(*,*) "a=",a stop End program ex0406 integer(kind=4) write write=2+2*4-3 write(*,*) "2+2*4-3=",write stop End