Best Answer

nr\m;laeoh9y0m g.qthnedxc

In fortran:

do i=1,5





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

User Avatar

Wiki User

2013-01-25 10:43:32
This answer is:
User Avatar
Study guides


20 cards

A polynomial of degree zero is a constant term

The grouping method of factoring can still be used when only some of the terms share a common factor A True B False

The sum or difference of p and q is the of the x-term in the trinomial

A number a power of a variable or a product of the two is a monomial while a polynomial is the of monomials

See all cards
2533 Reviews

Add your answer:

Earn +20 pts
Q: Can you give me a program that will compute number 1 to 5?
Write your answer...
Still have questions?
magnify glass
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 program to compute the sum of first ten integer numbers in PHP?

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

Write a c plus plus program to compute two integers?

int x= 1; int y= 2;

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

2 (i.e., 0 or 1)

Can you give me a program that will compute and display all the sum of odd numbers from 1-100?


Write a program in Java to print the numbers 1 to 100?

You can do this easily in a "for" loop. The relevant part of the program looks like this: for (number = 1; number <= 100; number++){ System.out.println(number); }

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 find the factorial of a number?

/*** returns N!, assume N >= 0 ***/ int Factorial(int n) { if (n <=1 ) /* 0! = 1! = 1 */ return 1; /** you can place as many know values as you want, like 2!, 3!, etc **/ /** but, recursive call will do just fine, ... **/ return n * Factorial(n - 1); /** compute N * (N-1)! **/ }

How do you compute least count of a ruler?


People also asked