Showing posts with label ALTERNATE KEYS. Show all posts
Showing posts with label ALTERNATE KEYS. Show all posts

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 .