reply urgently
-
One of the proofs of modern mathematics is George Cantors demonstration that the set of rational numbers is enumerable.This proof works by using an explicit enumeration of rational numbers as shown below 1/1 1/2 1/3 1/4 1/5 .... 2/1 2/2 2/3 2/4 3/1 3/2 3/3 4/1 4/2 5/1 In the time above the first term is 1/1 second is 1/2 ,the third is 2/2,the fourth term is 3/1,the fifth is 2/2 and so on. INPUT AND OUTPUT You are to write a program that will read a list of numbers in the range from 1 to 10 raised to the power 7 and will print for each number the corresponding cantor's enumeration as given below.No blank line should appear after the last number. Th einput list contains a single number per line and will be terminated by the end of -file. SAMPLE INPUT 3 14 7 SAMPLE OUTPUT TERM 3 is 2/1 TERM 14 is 2/4 Term 7 is 1/4 Lov u all
-
One of the proofs of modern mathematics is George Cantors demonstration that the set of rational numbers is enumerable.This proof works by using an explicit enumeration of rational numbers as shown below 1/1 1/2 1/3 1/4 1/5 .... 2/1 2/2 2/3 2/4 3/1 3/2 3/3 4/1 4/2 5/1 In the time above the first term is 1/1 second is 1/2 ,the third is 2/2,the fourth term is 3/1,the fifth is 2/2 and so on. INPUT AND OUTPUT You are to write a program that will read a list of numbers in the range from 1 to 10 raised to the power 7 and will print for each number the corresponding cantor's enumeration as given below.No blank line should appear after the last number. Th einput list contains a single number per line and will be terminated by the end of -file. SAMPLE INPUT 3 14 7 SAMPLE OUTPUT TERM 3 is 2/1 TERM 14 is 2/4 Term 7 is 1/4 Lov u all
You probably won't get any help with your programming assignment because we only answer specific questions. If you show us where you are having a problem, we will be glad to help.
-
You probably won't get any help with your programming assignment because we only answer specific questions. If you show us where you are having a problem, we will be glad to help.
i HAVE PASTED THE QUESTION,ITS SPECIFIC AND SHORT TOO SO U ALL CAN REPLY. Lov u all
-
i HAVE PASTED THE QUESTION,ITS SPECIFIC AND SHORT TOO SO U ALL CAN REPLY. Lov u all
You would probably be more likely to get help if you would stop being such a prick.
-
i HAVE PASTED THE QUESTION,ITS SPECIFIC AND SHORT TOO SO U ALL CAN REPLY. Lov u all
Ashishhcst2001 wrote:
i HAVE PASTED THE QUESTION,ITS SPECIFIC AND SHORT TOO SO U ALL CAN REPLY.
Yes, it is specifically a programming exercise question. I am not doing your homework for you. Love you too! :rose:
-
Ashishhcst2001 wrote:
i HAVE PASTED THE QUESTION,ITS SPECIFIC AND SHORT TOO SO U ALL CAN REPLY.
Yes, it is specifically a programming exercise question. I am not doing your homework for you. Love you too! :rose:
-
i HAVE PASTED THE QUESTION,ITS SPECIFIC AND SHORT TOO SO U ALL CAN REPLY. Lov u all
Ashishhcst2001 wrote:
SO U ALL CAN REPLY.
and why can't you do it yourself ?? as it is an homework, you're supposed to be able to solve it yourself, as you teacher intended...:suss:
TOXCCT >>> GEII power
[toxcct][VisualCalc 2.24][3.0 soon...] -
One of the proofs of modern mathematics is George Cantors demonstration that the set of rational numbers is enumerable.This proof works by using an explicit enumeration of rational numbers as shown below 1/1 1/2 1/3 1/4 1/5 .... 2/1 2/2 2/3 2/4 3/1 3/2 3/3 4/1 4/2 5/1 In the time above the first term is 1/1 second is 1/2 ,the third is 2/2,the fourth term is 3/1,the fifth is 2/2 and so on. INPUT AND OUTPUT You are to write a program that will read a list of numbers in the range from 1 to 10 raised to the power 7 and will print for each number the corresponding cantor's enumeration as given below.No blank line should appear after the last number. Th einput list contains a single number per line and will be terminated by the end of -file. SAMPLE INPUT 3 14 7 SAMPLE OUTPUT TERM 3 is 2/1 TERM 14 is 2/4 Term 7 is 1/4 Lov u all