140 likes | 159 Views
Are you interested in Graphic programming and want to learn its basics? Then BookMyEssay will help you to be a beginner in graphics programming. <br>Read more: https://www.bookmyessay.com/graphics-programming-assignment/
E N D
7 MOST EFFECTIVE AND USEFUL QBASIC PROGRAMS AND GRAPHICS
THE QBASIC IS THE SHORT FORM OF QUICK BEGINNERS. IT IS A PROGRAMMING LANGUAGE WHICH WAS DEVELOPED IN 1985 BY THE MICROSOFT.
THIS IS THE MOST IDEAL PROGRAMMING LANGUAGE FOR THE STARTERS BECAUSE IT IS VERY SIMPLE TO USE WITH IMPROVED STRUCTURES FOR PROGRAMMING. IT IS ALSO VERY FLEXIBLE WITH BETTER GRAPHICS.
THE PROGRAM WHICH IS USED FOR DRAWING AN ISOSCELES TRIANGLE WITH HORIZONTAL BASE. SCREEN 7 COLOR4,1 CLS PRINT "THIS IS A TRIANGLE" LINE(160,30)-(250,180),4 LINE(250,180)-(70,180),2 LINE(70,180)-(160,30),1 END
THE USEFUL PROGRAM FOR DRAWING BOXES WITH LINE SEGMENT SCREEN 7 COLOR5,15 CLS LINE(60,60)-(130,100),6,B [THE LETTER “B” DENOTES THE OPTION FOR BOX. THE (130,100) AND (60-60) ARE OPPOSITE SIDE OF RECTANGLE] IT ALSO HAS ONE SPECIAL FEATURE CALLED BOX FILL (BF) TO FILL THE COLOR IN THE BOX. SCREEN 7 COLOR5,15 CLS PRINT "THIS IS A RECTANGLE" LINE(60,60)-(130,100),6,BF
THE CODES THAT ARE USEFUL FOR GENERATING MUSICAL NOTES PLAY "ABCDEFGA"] END
THE CODE THAT IS USEFUL FOR DRAWING CIRCLE, ECLIPSE AND AN ARCH OF A CIRCLE. SCREEN 7 COLOR4,14,5 CLS PRINT "THIS IS A CIRCLE" CIRCLE(160,100),70,15 END
THE CODE FOR PRINTING TABLE FOR 12 CLS FORA=1 TO 5 PRINT"12*";A;"=";12*A NEXTA END
THE CODE THAT IS USED FOR DISPLAYING YOUR NAME 9 TIMES ON THE SCREEN CLS REM PRINT YOUR NAME INPUT "NAME PLEASE";N$ FOR X=1 TO 9 PRINT N$ NEXT X END
THE CODE TO PRINT FIRST FIVE ODD NUMBERS CLS FOR L=1 TO 10 STEP 2 PRINT L NEXT L END
If you are facing troubles in understanding Qbasic programs and graphics then you must seek Graphic Programming assignment help from the experts of BookMyEssay.
Email us: assignmenthelp@bookmyessay.com Visit us: https://www.bookmyessay.com/