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
do your own homework jackass
-
do your own homework jackass
-
do your own homework jackass
ahz wrote:
do your own homework jackass
When I started programming in the early 1980's we didn't have the forums like this to mooch off of, instead we used a thing called the brain :) PC
-
Okay it's finished. It can be done at least. Now it's your turn. You give it a try. Post your completed effort in the forum of whatever language you have to do it in (You kind of left that out.) and we'll grade it for you. We grade on the following:
- Is it your code and actually written by you? In most cases the professor can tell and so can we.
- Was your solution posted in the right forum? The professor will be looking don't make it to hard on him so put it in the right place.
- Were you able to solve the problem with your submitted code? We'll know that for sure.
Bonus Trivia: Did you know that my professor checked out Code Project, Code Guru and Rent A Coder to see if his assignment had been posted there? Then it was easy to spot the fake when turned it. It looked just like the answer that was posted. Maybe yours does to, you might want to consider that. Well, best of luck to you. I'll compare my answers with yours as soon as I see yours. - Rex
I only read CP for the articles. Code-frog System Architects, Inc.
Bonus Trivia: Did you know that my professor checked out Code Project, Code Guru and Rent A Coder to see if his assignment had been posted there? Then it was easy to spot the fake when turned it. It looked just like the answer that was posted... Even more fun, if you are a prof, post the answer! Then you can put in some very specific cues that will make it a snap to find the cheaters. I just don't understand why people want to cheat on homework anyway. If you don't like programming, change your major. If you don't like learning, drop out of school. It is so pathetic when you interview people who have a BSCS (or even MSCS sometimes) who cannot answer even the most basic programming questions and don't even seem to be interested in the subject. If you don't like the field, get out! Please. Find something that excites you and that are passionate about. You and everyone you work with will be the better for it. It is an important life choice; it is better to enjoy your work then to go into some field only because you think the salary may be good. Most of the incompetent programmers I've worked with are very unhappy. They try to cover it up, but they and everyone else around them know they are not pulling their weight. When it comes time to deliver and someone else always has to come in and pretty much do all their work, they still have to be there and take a lot of heat about why they didn't get the thing done and they are usually the ones working ridiculous hours (not that it helps much) to try and make up. They are very stressed out and unhappy and they know they don't have the respect of their peers. It is not a good life. It will eat away at you and make your whole life suffer. If your salary is good, that will only make things worse, because it will only make you feel like a thief. You should also consider the fact that the average salary may be good, but if you suck, then you will likely be well below average in pay as well. (Although, salaries often don't match competence and productivity as closely as they should, unfortunately.) Additionally, you will have a hard time getting a job, at least at companies that have good interview processes. You will likely be one of those dead-wood employees that stays at some place a long, long time, getting shuffled from group to group and put on unimportant projects, where you can do the least damage. Does that sound like an exciting and worthwhile career? If you are thinking that you want to get into softwar
-
Bonus Trivia: Did you know that my professor checked out Code Project, Code Guru and Rent A Coder to see if his assignment had been posted there? Then it was easy to spot the fake when turned it. It looked just like the answer that was posted... Even more fun, if you are a prof, post the answer! Then you can put in some very specific cues that will make it a snap to find the cheaters. I just don't understand why people want to cheat on homework anyway. If you don't like programming, change your major. If you don't like learning, drop out of school. It is so pathetic when you interview people who have a BSCS (or even MSCS sometimes) who cannot answer even the most basic programming questions and don't even seem to be interested in the subject. If you don't like the field, get out! Please. Find something that excites you and that are passionate about. You and everyone you work with will be the better for it. It is an important life choice; it is better to enjoy your work then to go into some field only because you think the salary may be good. Most of the incompetent programmers I've worked with are very unhappy. They try to cover it up, but they and everyone else around them know they are not pulling their weight. When it comes time to deliver and someone else always has to come in and pretty much do all their work, they still have to be there and take a lot of heat about why they didn't get the thing done and they are usually the ones working ridiculous hours (not that it helps much) to try and make up. They are very stressed out and unhappy and they know they don't have the respect of their peers. It is not a good life. It will eat away at you and make your whole life suffer. If your salary is good, that will only make things worse, because it will only make you feel like a thief. You should also consider the fact that the average salary may be good, but if you suck, then you will likely be well below average in pay as well. (Although, salaries often don't match competence and productivity as closely as they should, unfortunately.) Additionally, you will have a hard time getting a job, at least at companies that have good interview processes. You will likely be one of those dead-wood employees that stays at some place a long, long time, getting shuffled from group to group and put on unimportant projects, where you can do the least damage. Does that sound like an exciting and worthwhile career? If you are thinking that you want to get into softwar
This should be etched in PhotoShop stone and it should be the one image we are allowed to click/insert into replies. It would make our lives easier and might even help a few wanna-be's figure it out.:laugh:
I only read CP for the articles. Code-frog System Architects, Inc.
-
ahz wrote:
do your own homework jackass
When I started programming in the early 1980's we didn't have the forums like this to mooch off of, instead we used a thing called the brain :) PC
(and reference material) ------- sig starts "I've heard some drivers saying, 'We're going too fast here...'. If you're not here to race, go the hell home - don't come here and grumble about going too fast. Why don't you tie a kerosene rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
-
Bonus Trivia: Did you know that my professor checked out Code Project, Code Guru and Rent A Coder to see if his assignment had been posted there? Then it was easy to spot the fake when turned it. It looked just like the answer that was posted... Even more fun, if you are a prof, post the answer! Then you can put in some very specific cues that will make it a snap to find the cheaters. I just don't understand why people want to cheat on homework anyway. If you don't like programming, change your major. If you don't like learning, drop out of school. It is so pathetic when you interview people who have a BSCS (or even MSCS sometimes) who cannot answer even the most basic programming questions and don't even seem to be interested in the subject. If you don't like the field, get out! Please. Find something that excites you and that are passionate about. You and everyone you work with will be the better for it. It is an important life choice; it is better to enjoy your work then to go into some field only because you think the salary may be good. Most of the incompetent programmers I've worked with are very unhappy. They try to cover it up, but they and everyone else around them know they are not pulling their weight. When it comes time to deliver and someone else always has to come in and pretty much do all their work, they still have to be there and take a lot of heat about why they didn't get the thing done and they are usually the ones working ridiculous hours (not that it helps much) to try and make up. They are very stressed out and unhappy and they know they don't have the respect of their peers. It is not a good life. It will eat away at you and make your whole life suffer. If your salary is good, that will only make things worse, because it will only make you feel like a thief. You should also consider the fact that the average salary may be good, but if you suck, then you will likely be well below average in pay as well. (Although, salaries often don't match competence and productivity as closely as they should, unfortunately.) Additionally, you will have a hard time getting a job, at least at companies that have good interview processes. You will likely be one of those dead-wood employees that stays at some place a long, long time, getting shuffled from group to group and put on unimportant projects, where you can do the least damage. Does that sound like an exciting and worthwhile career? If you are thinking that you want to get into softwar
I can't agree more with you. However, I have noticed when I was in uni some of my peers having no brains for programming while excelling at networking, or vice versa. So, programming might not be this guy's major but he still needs to take it anyway. Edbert Sydney, Australia
-
ahz wrote:
do your own homework jackass
When I started programming in the early 1980's we didn't have the forums like this to mooch off of, instead we used a thing called the brain :) PC
computerguru92382 wrote:
ahz wrote: do your own homework jackass
computerguru92382 wrote:
When I started programming in the early 1980's we didn't have the forums like this to mooch off of, instead we used a thing called the brain
:laugh: :laugh: :laugh: :laugh: !!C before you C++!!
-
ahz wrote:
do your own homework jackass
When I started programming in the early 1980's we didn't have the forums like this to mooch off of, instead we used a thing called the brain :) PC
-
Are you kidding? Nobody here is going to do your homework for you.
If dreams are like movies Then memories are films about ghosts You can never escape You can only move south down the coast
Hey Mrs. Potter, don't cry...
I think this guy must have the record for most 1's in the least time (61 for 7 posts...all about the same time) :sigh: Steve