datasheet,schematic,electronic components, service manual,repairs,tv,monitor,service menu,pcb design
Schematics 4 Free
Service manuals, schematics, documentation, programs, electronics, hobby ....


registersend pass
Bulgarian - schematics repairs service manuals SearchBrowseUploadWanted

Now downloading free:

free download

Various electronics service manuals

File information:
File name:question n answer.pdf
[preview ]
Size:60 kB
Extension:pdf
Mfg:
Model:
Original:
Descr:QBasic programming Question n asnwer
Group:Electronics > Other
Uploaded:13-01-2015
User:rockingsital
Multipart:No multipart

Information about the files in archive:
Decompress result:OK
Extracted files:1
File name question n answer.pdf

Specific programming in QBASIC · Determining the area of rectangle · Determining the area of triangle · Convert Celsius from Fahrenheit · Find out a year leap-year or not · Determine an integer is even or odd · Find the maximum minimum number between three numbers · Find the grade letter on basis of mark · Determine the total and the average of some numbers · Find the GCD of two numbers · Find the Factorial of an integer · Test whether a number is prime or not · Find sum of the numbers from 1 to 100 · Find sum of the odd numbers from 1 to 100 · Find sum of squared numbers from 1 to 100 · Sort n numbers ------------ --------- --------- --------- --------- -Please type the code as following in QBASIC program for determining the area and perimeter of a rectangle: CLS REM this program will determine the area and perimeter of a rectangle INPUT "Please enter the Length= ", 1 INPUT "Please enter the width= ", w P=2 * (1+w) a=1 *w PRINT PRINT "The area of the rectangle is= "; a PRINT PRINT "The Perimeter of the rectangle is="; p END Please type the code as following in QBASIC program for determining the area and perimeter of a rectangle: CLS REM this program will determine the area and perimeter of a rectangle INPUT "Please enter the Length= ", 1 INPUT "Please enter the width= ", w P=2 * (1+w) a=1 *w PRINT PRINT "The area of the rectangle is= "; a PRINT PRINT "The Perimeter of the rectangle is="; p END Please type the code as following in QBASIC program for determining the area of a triangle: 1 | Page Sital Prasad Mandal Specific programming in QBASIC CLS REM determine the area of a triangle INPUT "Please insert the length of 3 line (A, B, C) of triangle= ", a, b, c S= (a+b+c)/2 Area=SQR(s * (s-a) * (s-b) *(s-c)) PRINT PRINT "The Area of the triangle is= "; area END Please Type the code as following in QBASIC program to convert Celsius from Fahrenheit: CLS REM "converting Celsius from Fahrenheit" INPUT "Fahrenheit= ", f C=f/2.664864864864# PRINT PRINT "Celsius= "; c END Please Type the code as following in QBASIC program to find out a year is leap year or not: CLS INPUT "The year is= " , y IF (y MOD 4=0) THEN PRINT "This is a leap year" ELSE PRINT "This is not a leap year" END IF END 2 | Page Sital Prasad Mandal Specific programming in QBASIC Please Type the code as following in QBASIC program to find out a number is even or odd: CLS REM "Determine an integer is even or odd" INPUT "Enter the number here= ", n IF n MOD 2=0 THEN PRINT "This number is Even" ELSE PRINT "This number is Odd" END IF END Please Type the code as following in QBASIC program to find the Maximum and minimum number from three numbers: CLS INPUT "Please input the 1st number= ", a INPUT "Please input the 2nd number= ", b INPUT "Please input the 3rd number= ", c Max=a IF b > max THEN max= b IF c > max THEN max= c PRINT "The largest number is= "; max Min= a IF b < min THEN min = b IF c < min THEN min = c PRINT "The Smallest number is = "; min END Please Type the code as following in Q

>> View document online <<



>> Download document << eServiceInfo Context Help



Was this file useful ? Share Your thoughts with the other users.

User ratings and reviews for this file:

DateUserRatingComment

Average rating for this file: 0.00 ( from 0 votes)


Similar Service Manuals :
- - - - - - -
 FB -  Links -  Info / Contacts -  Forum -   Last SM download : Denon RCD-N8

script execution: 0.11 s