Currently browsing category

Q-Basic

Includes post related to Q-Basic

Q-Basic – WAP using If-else if statement to find division, precentage and result

WAP which prompts to input name of a student and marks obtained in 5 subjects and then prints total, percentage, result and division.   This program in Q-Basic is an example of using if-else if statement to categorize division obtained by students with the total marks of five subjects. If-else …

Q-Basic – WAP to check whether a given number is Armstrong or not

WAP to check whether a given number is Armstrong or not. This Program in Q-Basic checks whether the number given by the user is Armstrong or not. For this program the number entered should be three digit number. Explanation: Number Entered by user is stored in variable N. N is …

Q-Basic – WAP to determine the largest number among three given numbers

WAP to determine the largest number among three given numbers. This program in Q-Basic finds the largest among three numbers stored in variables A, B, C. It shows the implementation of IF..ELSE clause in Q-Basic Programming. To find largest among three different numbers, this program first compares A with B. …