Search This Blog

Wikipedia

Search results

Monday, September 30, 2019

QBasic program to find average of 3 number. FUNCTION


DECLARE FUNCTION AVERAGE (A, B, C

CLS

INPUT “ENTER ANY THREE NUMBERS”; A, B, C

PRINT “AVERAGE OF 3 NUMBERS =”; AVERAGE (A, B, C)

END


FUNCTION AVERAGE (A, B, C)

AVERAGE= (A + B + C) / 3

END FUNCTION

No comments:

               Journey of Jagat Mandir H. S. School When I was at the age of three I joined the school in the village. When I came to K...