How to sort the sum of numbers in qbasic?

1 Answer

Answer :

You use the relevant formula.

Related questions

Description : Do you still use spaghetti code , like QBasic?

Last Answer : talljasperman Sorry I didn’t know that spaghetti code was a pejorative. My teacher called it that and I did not look it up.

Description : I love programming in Qbasic... and can't seem to learn C+ or Java... am I doomed?

Last Answer : answer:Try Just BASIC if you don’t plan to write code as a career. If you’re wanting a “bridge” to C++ or Java, try the PHP server-side scripting language or Python.

Description : Which of the following programming language started from second generation? A) LISP B) C C) QBASIC D) FORTRAN

Last Answer : Answer : D

Description : If there are n integers to sort, each integer has d digits and each digit is in the set {1,2, ..., k}, radix sort can sort the numbers in: (A) O(d n k) (B) O(d nk) (C) O((d+n)k) (D) O(d(n+k))

Last Answer : (D) O(d(n+k))

Description : If somebody choose two digit and three digit numbers and their difference is 989.What will be their sum? a) 1000 b)1010 c) 1006?

Last Answer : None of the above. Let x be the three digit number and y be the two digit number. x - y =989. x = 989 + y. x is obviously greater than 989 and less than 1000 (since it is three digits). Since y is a two digit number ... 989 + 10 = 999. We can't go any higher, so x =999 and y=10. x+y = 999+10 = 1009

Description : If 4! = 1x2x3x4 and is called 4 factorial, what is the sum of the numbers e.g. 4(?)= (1+2+3+4) called?

Last Answer : What’s wrong with the summation notation? It does just that. I don’t think there’s any other way of expressing it other than writing it out. [addition]: After more research, I found a formula where 1+2+3+4….+n= n*(n+1)/2 http://en.wikipedia.org/wiki/Triangular_number

Description : A student was once given a simple task to accomplish. He was given 6 numbers: 1, 10, 20, 30, 40, and 80, and was told to sum them together to be equal to 100. At last, he was able to accomplish this task. How did he do it? -Riddles

Last Answer : He read 10 and 80 backwards to give him 01 and 08 respectively. So, 1 + 01 + 20 + 30 + 40 + 08 = 100.

Description : Find four numbers, the sum of which is 45, so that if 2 is added to the first number, 2 is subtracted from the second number, the third number is multiplied by 2 and the fourth number is divided by 2, then the four numbers so produced are all the same. What are the four numbers? -Riddles

Last Answer : 8 + 2 = 10 12 - 2 = 10 5 x 2 = 10 20 ÷ 2 = 10 45

Description : When the celebrated German mathematician Karl Friedrich Gauss (1777-1855) was nine he was asked to add all the integers from 1 through 100. He quickly added 1 to 100, 2 to 99, and so on for 50 pairs ... 1,000,000,000.That's all the digits in all the numbers, not all the numbers themselves. -Riddles

Last Answer : The numbers can be grouped by pairs: 999,999,999 and 0; 999,999,998 and 1' 999,999,997 and 2; and so on.... There are half a billion pairs, and the sum of the digits in each pair is 81. The digits in the unpaired number, 1,000,000,000, add to 1. Then: (500,000,000 X 81) + 1= 40,500,000,001.

Description : There are two numbers whose product added to the sum of their squares is 109, and the difference of whose squares is 24. What are the two numbers? -Riddles

Last Answer : 5 and 7. (5)² = 25 (7)² = 49 (5x7)+25+49=109 49-25=24

Description : Show that If m > 1, then the sum of the mth powers of underline (n)even numbers is greater than n (n + 1)^m -Maths 9th

Last Answer : answer:

Description : If a1, a2, .... an are positive numbers such that a1.a2.a3 .... an = 1, then their sum is -Maths 9th

Last Answer : answer:

Description : The minimum value of the sum of real numbers a^(–5), a^(–4), 3a^(–3), 1, a^8 and a^10 with a > 0 is -Maths 9th

Last Answer : answer:

Description : A number say z is exactly the four times the sum of its digits and twice the product of the digits. Find the numbers -Maths 10th

Last Answer : This is the Answer

Description : when adding mixed numbers,is it always necessary to write the sum as a mixed number Explain?

Last Answer : what is 2+@

Description : Give two prime numbers whose sum is?

Last Answer : 23 and 29

Description : if the sum of two numbers is 17 and the difference is 3 what are the two numbers?

Last Answer : The answer is 7 and 10.7+10=1710-7=3

Description : What is the sum of two numbers is 15 their difference is 1?

Last Answer : 7 and 8 are the answer. Think “? - ? = 1”. Then thin about your addition table: 0,15 1,14 2,13 3,12… and on until you get to 7,8, because 7+8=15 and 7-8=1.

Description : What is the sum of the prime numbers from 1-100 ?

Last Answer : 2 , 3 , 5 , 6 , 11 , 13 , 18 , 19 , 23 , 29 , 31 , 36 , 41 , 43 , 48 , 53 , 59 , 61 , 7 , 81 , 63 , 69 , 63 , 69 and 96 = sum of 1080.

Last Answer : : 35 numbers up to 1-100 can be expressed as a sum of 2 squares.

Description : The sum of the first n even natural numbers is ___________

Last Answer : The sum of the first n even natural numbers is ___________

Description : If the sum of two +ve numbers is 18 then the maximum value of their product is

Last Answer : If the sum of two +ve numbers is 18 then the maximum value of their product is A. 8,10 B. 9,9 C. 6,12 D. None of these

Description : Find two numbers whose sum is 12 and the product of the square of one part and the 4th power of other is maximum.

Last Answer : Find two numbers whose sum is 12 and the product of the square of one part and the 4th power of other is maximum.

Description : How do you express the sum of each pair of numbers as a product of the greatest common factor of the numbers and another number?

Last Answer : Pick a pair of numbers.Let's try 30 and 42.Their GCF is 6.6 x 5 and 6 x 7By the distributive property, that can be written as 6(5 +7)

Description : What are two cubic numbers whose sum is a square number?

Last Answer : Need answer

Description : What numbers have a sum of 2 numbers is 6.5 and has a product of 10.5?

Last Answer : The numbers are 3 and 3.5

Description : What two numbers have the sum of 40 and the difference of 10?

Last Answer : The numbers are 25 and 15

Description : What numbers has the sum of 100 and difference of 6?

Last Answer : They are 47 and 53.

Description : What is 84 as the sum of 4 square numbers?

Last Answer : 81 + 1 + 1 + 1

Description : What numbers have a sum of 20 and difference is 8?

Last Answer : 14+6=20 and6-14=8

Description : What is the answer to this The sum of two numbers is 16 and their difference is 2?

Last Answer : 7 and 9

Description : What 2 numbers have a sum of 13 and a difference of 3?

Last Answer : 5 and 8

Description : What two numbers have a sum of 18 and a difference of 8?

Last Answer : 13 and 5

Description : What is the sum of 3rd and fifth square numbers?

Last Answer : 2

Description : What two numbers have a sum of 40 and their difference is 10?

Last Answer : It's 25 and 15

Description : How find 2 numbers with a sum of 23 and product of 132?

Last Answer : as 132 is an even numberat least one of the two numbers must also be even12 + 11 = 2312 x 11 = 132

Description : What three consecvtive odd numbers have the the sum of 45?

Last Answer : They are: 13+15+17 = 45

Description : Is The sum of two complex numbers is sometimes a real number.?

Last Answer : Sure, if the imaginary part is opposite. For example:(3 + 2i) +(5 - 2i) = 8

Description : What is the sum of two numbers Is 9 and their difference is 1?

Last Answer : 8 4

Description : What is The sum of two numbers is twenty one half the first number plus one fourth the second number is 9 find the two numbers?

Last Answer : Feel Free to Answer

Description : What us the answer to The sum of three consecutive whole numbers is 1539 what are the three numbers?

Last Answer : Feel Free to Answer

Description : What two numbers have the sum of 12 and the difference of 8?

Last Answer : The two numbers are 10 and 2

Description : What two numbers have the sum of 31 and the product of 234?

Last Answer : The two numbers are 13 and 18

Description : What is the sum of the odd numbers smaller than ten?

Last Answer : If by "smaller than ten" you mean closer to zero than 10,thensum = -9 + -7 + ... + -1 + 1 + ... + 7 + 9 = 0If you mean the numbers less than 10, then:sum = 9 + 7 + ... + 1 + -1 + -3 + ... = -∞If you mean the ... numbers less than 10, then:sum = 1 + 3 + 5 + 7 + 9 = ½ 5 (1 + 9) = ½ 5 10 = 25

Description : What are the numbers if the sum of two numbers is 31 and the product is 150?

Last Answer : 25 and 6.

Description : What is the sum of 800 odd consecutive numbers?

Last Answer : What is the answer ?

Description : What are the 2 numbers that have a sum of 15 and a difference of 1?

Last Answer : 10

Description : What is the sum of 2 numbers is 16 and their difference is 2?

Last Answer : 7 & 9

Description : What are the two consecutive numbers whose sum is 425?

Last Answer : They are: 212 plus 213 = 425

Description : What are two numbers with the sum of 20 and the difference of 6?

Last Answer : 13 + 7 = 2013 - 7 = 6