User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Legacy and Other Languages section within the Software Development category of DaniWeb, a massive community of 392,055 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 4,283 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Legacy and Other Languages advertiser:
Views: 1673 | Replies: 0
Reply
Join Date: May 2005
Posts: 3
Reputation: raleman is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
raleman raleman is offline Offline
Newbie Poster

arrays

  #1  
May 21st, 2005
I am not very good at this. I have been trying this for days. Can anyone help?

Given 2 arrays 1 to 20, compute the sum of the products.

DIM p(1 to 20)
DIM Q(1 to 20)
for i=1 to 20
read q(i)
let a=i*q(i)
print a

next i
DATA 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20
AddThis Social Bookmark Button
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb Legacy and Other Languages Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the Legacy and Other Languages Forum

All times are GMT -4. The time now is 11:38 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC