Thursday, 3 November 2016

Basic Functions in GW-BASIC and Examples

Commands Statements Functions

FUNCTION KEYS

ALTERNATE KEYS





Examples 
1:Write a program to 1 to 10 print number using FOR loop. 
Flowchart:- 
 Source code:-
 output
2:- Write a program to print"voice of sindh"Ten Times using FOR loop.
source code:-
 output:-

 3:-Write a program to print Table .
 source code:-
 output:-

4:-Write a program to Print Square and cube of natural numbers . 
Flow Chart:-
 Source code :-
 output:-
5:-write a program to change Age into Days . 
Source code :-

6:-write a program to print the complete result and calculate total marks.
Flow chart :-  
 Source code :-
Output:-

7:-Write a program to change Rupees in to dollar .

1 comment:

  1. Thanks so much for sharing; its a well written content we appreciate your work, expecting more content like this nice post. Thanks again; wish you a good luck on behalf of readers. Meanwhile, visit fed-poly nekede post utme form

    ReplyDelete