Cie AS Computing
Dear students of Block 6 AS computing, welcome to the computing class. I am your facilitator Dr.Ravichandran ( you can call me Dr.Ravi), I will be your course facilitator for AS computing and A2 computing. I will start communicating with you in this discussion forum - where you can start posting your queries and useful resources.
You are highly encouraged to interact with me and also with your peers as the class begins from 30th July 2013.
All the best and keep moving. Do not hesitate to ask and send your queries if you have one.
Regards,
Dr.Ravichandran
i HAVE ATTACHED THE SYLLABUS TOO.
YOU CAN DOWNLOAD THE ATTACHMENT FILE.
Tags:
Please try this link and lets have a chat engine setup for our block6.
Dr.Ravi
17th March Homework/Assignment (:
==========================================================
Dim id(4), customid(4), bookid(4), orderdate(4), qtt(4), price(4) As Integer
Dim i, j, k, l, m, n As Integer
For i = 1 To 4
id(i) = InputBox("id : " + Str(i))
customid(i) = InputBox("customer id : " + Str(i))
bookid(i) = InputBox("book id : " + Str(i))
orderdate(i) = InputBox("orderdate : " + Str(i))
qtt(i) = InputBox("quantity : " + Str(i))
price(i) = InputBox("price : " + Str(i))
Next
'total amount
j = 0
k = 0
For j = 1 To 4
n = qtt(j)
k = k + n
Next
'top sales
m = 0
For l = 1 To 4
If bookid(l) > m Then
m = bookid(l)
Else
m = m
End If
Next
print "Total order amount: " +str(k)
print "Book that is top seller: "+str(m)
==================================
tested and it works.
© 2025 Created by Ravichandran.
Powered by