Question about Computers & Internet

1 Answer

C Program related to Anagram

Hi,
I have some problem for writing code for anagram program...
The requirement is --------------
I have to write a program in such a way that it has to open a file which contains anagram pairs,so my code is to identify the all the anagram pairs and print it on the console
EX---->File contain
ABCDEFG
show
whos
apple
pleap
stare
ABCDFEG

output should be----->
ABCDEFG -> ABCDFEG
show->whos
apple->pleap
stare->cannot find anagram match

Posted by on

×

Ad

1 Answer

  • Level 3:

    An expert who has achieved level 3 by getting 1000 points

    All-Star:

    An expert that got 10 achievements.

    MVP:

    An expert that got 5 achievements.

    Genius:

    An expert who has answered 1,000 questions.

  • Master
  • 1,601 Answers

Did you find your answer?

Posted on Mar 12, 2008

Ad

1 Suggested Answer

6ya6ya
  • 2 Answers

SOURCE: I have freestanding Series 8 dishwasher. Lately during the filling cycle water hammer is occurring. How can this be resolved

Hi there,
Save hours of searching online or wasting money on unnecessary repairs by talking to a 6YA Expert who can help you resolve this issue over the phone in a minute or two.

Best thing about this new service is that you are never placed on hold and get to talk to real repairmen in the US.

Here's a link to this great service

Good luck!

Posted on Jan 02, 2017

Ad

Add Your Answer

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

1 Answer

OF WHICH WORD IS ELVERSES AN ANAGRAM


There is no single word within the English Merriam-Webster dictionary which is an anagram of "elverses," though there are several word pairings which use all eight provided letters. See the attached link: http://wordsmith.org/anagram/anagram.cgi?anagram=elverses&t=1000&a=n

Nov 22, 2016 | Computers & Internet

1 Answer

Anagram of. Dorulesy meaning misleading


http://wordsmith.org/anagram/anagram.cgi?anagram=Dorulesy&t=1000&a=n

Jan 30, 2015 | Computers & Internet

1 Answer

Unscramble words solver


http://www.wordsmith.org/anagram/anagram.cgi?anagram=nroounetibe&t=1000&a=n

Oct 19, 2013 | Computers & Internet

1 Answer

Solve this anagram: a banner month, intact Mr. Sot, assort mi


There are tons of Anagram sites around. Look on the net, enter ANAGRAM SOLUTIONS...Pick one, any one.

Jan 19, 2013 | Computers & Internet

3 Answers

A java code for anagram


import java.io.IOException;

public class AnagramApp {
static int size;

static int count;

static char[] charArray;

public static void main(String[] args) throws IOException {
String input = "Java Source and Support";
size = input.length();
count = 0;
charArray = new char[size];
for (int j = 0; j < size; j++)
charArray[j] = input.charAt(j);
doAnagram(size);
}

public static void doAnagram(int newSize) {
int limit;
if (newSize == 1) // if too small, return;
return;
// for each position,
for (int i = 0; i < newSize; i++) {
doAnagram(newSize - 1); // anagram remaining
if (newSize == 2) // if innermost,
display();
rotate(newSize); // rotate word
}
}

// rotate left all chars from position to end
public static void rotate(int newSize) {
int i;
int position = size - newSize;
// save first letter
char temp = charArray[position];
//shift others left
for (i = position + 1; i < size; i++)
charArray[i - 1] = charArray[i];
//put first on right
charArray[i - 1] = temp;
}

public static void display() {
System.out.print(++count + " ");
for (int i = 0; i < size; i++)
System.out.print(charArray[i]);
System.out.println();
}
}

Nov 22, 2010 | Computers & Internet

1 Answer

Plz give me C code for the given program


I have the code in java. can you convert.
if need
mail to p.stivel@gmail.com

Feb 23, 2008 | Computers & Internet

Not finding what you are looking for?

Open Questions:

0 Answers

6 Ways Cloud Computing Helps Businesses Save Time and Money You must be using cloud computing now even if you do not realize it. For doing a simple task like sending an email, uploading a video online, downloading work related files it is nothing but cloud computing that is making it all possible behind the arena. Cloud computing is a big switch from the orthodox way businesses think about IT resources. Many Online Cloud Backup services advertise a lot of features, such as fast upload and download and unlimited backup, but often in real life usage these commitments fall short. As the old saying goes you get what you pay for stands true. For extremely basic file storage or sharing, you may look for a low cost, simpler product. However, if you are looking to get the best for your business, you'll need to consider better solutions like DataAlign. We all have masses of unstructured data scattered across laptops, desktops, and mobile devices and this is an ever-growing pain not only for a business but also for a home user. With time scarcity and insufficient security measures to protect these valuable data assets, we decided to create a competent Online Computer Data Backup Solutions that can not only assist you to organise your data, but secure it with military-grade encryption. Unlike other business online backup services that does not give optimum functionality, DataAlign provide application and operating system backup, 24-hour support, advanced file versioning, compliance-level security, server and NAS backup and infrastructure-as-a-service IaaS features. Of course, these offerings are simple to use and self-explanatory. With our ever growing and latest technology, Data Align Online Business Server Data Backup Solutions makes data backup, disaster recovery and business continuity uncomplicated and less extravagant as the is mirrored at multiple redundant sites on our network. DataAlign has been designed with you in mind. You wouldn't require any technical skill or IT degree to use it. Simply, upload your data and the technology will do the rest, enabling you to focus on what really matters; your business. Our dedicated support is readily available to answer any questions that you may have.

Jul 23, 2018 | Best Computers & Internet

Computers & Internet Logo

Related Topics:

948 people viewed this question

Ask a Question

Usually answered in minutes!

Top Computers & Internet Experts

Les Dickinson
Les Dickinson

Level 3 Expert

18424 Answers

Doctor PC
Doctor PC

Level 3 Expert

7733 Answers

David Payne
David Payne

Level 3 Expert

14162 Answers

Are you a Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...