Write Louder! (How To Write …?)

Useful Writing Books, Articles, Software

Write Zeros Program

without comments

Write a program that will ask the user to enter an integer greater than zero and calculate the summation?

Ex. if user enters 4 the output should read 10 (4+3+2+1)
in FORTRAN language

Hi
program sumate
integer num
integer i
integer sum
sum = 0
print *,"Input a number..."
read *,num
do i = 1,num
sum = sum + i
end do
print *,sum
end

Sorry it's a bit basic (No test for integer, no format) hope it will do.
Regards
G

Writing Your Program




Compare............................................................................................


Fisher Space Original Astronaut Space Pen


Fisher Space Original Astronaut Space Pen


$50.49


FEATURES Cartridge is sealed & pressurized at nealy 35 pounds per square inch: 1 Tungsten carbide ball: 2 Writes from -30 to +250 degrees F: 3 On wet surfaces: 4 On photographs: 5 Write through grease: 6 Underwater: 7 At any angle: 8 Upside down: 9 Retactable with side button release: 10...

My Japanese Coach


My Japanese Coach


$29.99


Thanks to UbiSoft's My Japanese Coach for the Nintendo DS, you can carry a tutor in your pocket that lets you learn a new language in as little as 15 minutes a day. With plenty of entertaining lessons, loads of fun-to-play mini-games, and a host of helpful features, this unique language coach will have you not only speaking like a native in no time, but reading and writing like on as well! .capti...

SimplyVibe SV-X6 Premium Rechargeable FM, MP3 Player and Portable Speakers (White Color) w/ DSP Bass for iPad, iPod, iTouch, iPhone, Laptops (Mac/ PC) and Mobile Devices (Lithium Battery)


SimplyVibe SV-X6 Premium Rechargeable FM, MP3 Player and Portable Speakers (White Color) w/ DSP Bass for iPad, iPod, iTouch, iPhone, Laptops (Mac/ PC) and Mobile Devices (Lithium Battery)


$33.99


Please note: the SV-X6U1 replaces and is an upgrade to the SV-X6.
Improvements include:
1) Single USB cable for both audio and power
2) Improved card reader, supports USB 2.0
3) Amplifier upgraded to reduce power lost and "zero" disturbance to FM
4) Upgraded Li-Battery to 1050mAh (vs 600mAh), continuos play of 10 hours.

Same maker of the popular S350P. It has the same functions, but smaller, ha...


SMDS III ADM-300A ECU Programming


SMDS III ADM-300A ECU Programming


$861.23


Basic model features:
·Popular models of Japan and Korea, occident and Asia.
·IC models (24/25/95/93 series).
·05/08/11/12/NEC series CPU memory models.
·TMS370 series CPU meter adjustment, IMMO reading code, and ECU programming.
·OBD-II socket operation: Volkswagen Audi, Mercedes-Benz and BMW models.
·CPU Meter of 03 Audi A4, Buick Business GL8,Honda CRV, Guangzhou Honda 3.0, Ford Mondeo, S...

.........................................................................................................
Compare............................................................................................


Zeros and Ones Business Letterhead


Zeros and Ones Business Letterhead


$32.95


Zeros and Ones Business Letterhead

Zeros and Ones Address Labels


Zeros and Ones Address Labels


$9.95


Zeros and Ones Address Labels

Zeros and Ones Large Magnets


Zeros and Ones Large Magnets


$20.95


Zeros and Ones Large Magnets

Zeros and Ones Oversized Postcards


Zeros and Ones Oversized Postcards


$25.95


Zeros and Ones Oversized Postcards

Zeros and Ones Business Cards


Zeros and Ones Business Cards


$5.95


Zeros and Ones Business Cards

.........................................................................................................


Written by admin

October 3rd, 2010 at 11:53 am

Leave a Reply