answersLogoWhite

0


Best Answer

nr\m;laeoh9y0m g.qthnedxc

In fortran:

do i=1,5

write(6,*)i

enddo

stop

end

This program will write the numbers 1 to 5 on the screen.

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Can you give me a program that will compute number 1 to 5?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What BASIC program can compute and display all prime numbers from 1 to 40?

PRINT 2,3,5,7,11,13,17,19,23,29,31,37


How do you compute fractions?

If by compute a fraction you mean simplify a fraction such as 1/4 to something like 0.25, you simply divide the top number by the bottom number (numerator by denominator). For the example of 1/4, divide 1 by 4 and you will get 0.25.


7 Write a C program to compute the factorial of a number using for loop?

int factorial(int n) { int i; int f=1; for(i=2;i<=n;++i) f*=i; return f; }


Write a c plus plus program to compute two integers?

int x= 1; int y= 2;


Write a program to compute the sum of first ten integer numbers in PHP?

$n = 10*(1+10)/2;


Which number system is usually followed in a typical 32-bit compute?

2 (i.e., 0 or 1)


Write a program in C to compute expansion 1 plus Xpwr2byfact2 plus Xpwr4byfact4 Xpwr6byfact6 plus .......?

#include ...double x, y;...y = cosh (x);


How do you find 2 and half percent of a number?

To find 2 1/2% of a number, multiply the given number by the 0.025 which is the decimal equivalent of 2 1/2. Example: Compute for 2 1/2 of 200. = 0.025 * 200 = 5


C program to compute 1 plus 4 plus 9 plus?

#include<stdio.h> #include<conio.h> void main() { int n,count=0,sum=0; printf("Enter the number of values"); scanf("%d",&n); for(int i=1;count<n;i++) { sum+=i*i; count++; } getch(); }


What is one half doubled?

Well i think your just a 1 grade trying to solve your homework on the compute well guess what I'm not going to give you the answer it is 17


How do you compute least count of a ruler?

1/16


Write algorithm compute sum of square of N numbers?

1. Design an algorithm to compute sum of the squares of n numbers?