Skip to main content

WAP to find Hcf of two number in qbasic

 CLS

INPUT " Enter two Number "; N1,N2

DO

R= N1 MOD N2

N1=N2

N2=R

LOOP WHILE R<>0

PRINT "HCF is=";N1

END


# Program In Qbasic


# Output In Qbasic





Comments

Popular posts from this blog

Writa a program to sum two numbers in Qbasic

 CLS INPUT " Enter firs digit";N1 INPUT " Enter Second digit";N2 SUM= N1+N2 PRINT" Sum Of two Number";SUM END #Program in Qbasic #Output in Qbasic

Simple Html webpage

<html> <head> <title> Aayusha Pokhrel </title> </head> <body> <BODY BGCOLOR="Green" TEXT="WHITE"> <center> <h2> About Me </h2> </center> <hr> <p> My name is Aayusha Pokhrel .... Aayusha Write about You... </p> <br> <h3> My Hobbis </h3> <p> Write about Your Hobbies aayusha </p> <h3> My Education </h3> <p> Write about Your Education </p> <hr> </html> #OutPut

Speech (Narration)

Narration  Any event or condition which was done in past . If we are talking about that action then that is callled narration . 1. Direct Speech Any extract word which is said by oneone is called Direct Speech. 2. Indirect Speech ( Reported Speech) If You said something by doing backshifting tenses and verbs then that is called Inddirect speech. Example: She said that she was not felling well that day . Some Rules Of Tenses in Narration. Present Indefinate πŸ‘‰      Past Indefinate Present Contionous  πŸ‘‰ Past Continous Present Perfect πŸ‘‰ Past Perfect Present Perfect Contionous πŸ‘‰Past Perfect Contionous Will πŸ‘‰Would Past Indefinate πŸ‘‰ Past Perfect Past Continous πŸ‘‰ Past Perfect Continous