1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
seraphim [82]
4 years ago
13

A palindrome is a string that reads the same forwards or backwards; for example dad, mom, deed (i.e., reversing a palindrome pro

duces the same string). Write a recursive, bool-valued function, isPalindrome that accepts a string and returns whether the string is a palindrome. A string, s, is a palindrome if: s is the empty string or s consists of a single letter (which reads the same back or forward), or the first and last characters of s are the same, and the rest of the string (i.e., the second through next-to-last characters) form a palindrome.
Computers and Technology
1 answer:
Vadim26 [7]4 years ago
3 0

Answer:

Explanation: Palindrom.c

#include <stdio.h>

#include <string.h>

int isPalindrome (char s[],int l);

int main()

{

char s[15];

printf("Enter a string: ");

scanf("%s", s);

int result = isPalindrome(s, strlen(s));

if(result){

printf("Palindrome\n");

}

else{

printf("Not a palindrome\n")

}

return 0;

}

int isPalindrome (char s[], int l)

{

if (l<=0)

return 1;

if (s[0] == s[l-1])

{

return isPalindrome (s+1, l-2);

}

else return 0;

}

You might be interested in
How is scale depicted on a flat video screen?
tatiyna

Answer:

aakaksjeiwienjskiaoque ieiba

Explanation:

*!\$_&×&×&$_$_!,!,,Ω,Ω

fr tho . I actually have no idea

6 0
3 years ago
A technician is troubleshooting an employee laptop that has a wired network connectivity issue. The laptop can connect to the in
defon

By Tx/Rx reverse the technician can address this issue.

C. Tx/Rx reverse

<u>Explanation:</u>

Technician has to trouble the laptop, since the laptop is connected and got internet while is the network resources inside the office. But if he connects the same laptop in research lab end user is not connected

Following troubleshooting to made

1. Routing is done properly

2. Any packet dropping by using TRACE command in windows operating system.

Since DHCP is used in office, whereas same type is not used in research lab. End user can try TX/RX reverse cable to connect in the research laptop.

5 0
4 years ago
An update anomaly can occur if A. an instance of the same data is stored in two or more places in the database. B. a data elemen
zalisa [80]

Answer:

A. an instance of the same data is stored in two or more places in the database.

Explanation:

Giving that Update Anomalies usually occur when the designated user person in keeping records or record master stored a particular data in more than one in a database. This is what is called duplication of data and is termed an irregularity on the part of the record keeper.

Hence, the correct answer to the question is " A. an instance of the same data is stored in two or more places in the database."

5 0
3 years ago
Identify requirements that should be considered when determining the locations and features of firewalls. What are some importan
Karo-lina-s [1.5K]

Answer and Explanation:

The requirements to be considered while determining the firewalls' features and locations are:

  • The reason so as to why to implement a firewall
  • Traffic inspection type required to be accomplished.
  • Best OS, i.e., Operating System suitable for the work need.
  • The method to fir firewall into the topology (network).
  • Making decision whether the firm is more suitable for software solution or application.

Some of the importants steps to be taken for the firewalls to remain effective:-

  • Use of strong password.
  • according to the usage, tweak the settings of the firewall.
  • Enable auto update for firewall.
  • Maintain consistency in settings throughout the network.
  • addition of multiple layers to the security and computer system.
  • Application of encryption (128 bit WEP).
  • Analysis of the traffic both outbound and inbound and taking appropriate measures.
  • Always check for leaks and ports.
8 0
3 years ago
what ribbon command on the Home tab can you use to change a cell's fit color automatically, based on the value of the cell
Lerok [7]

The ribbon command on the Home Tab that can be used to change a cell's font color automatically based on the value of the cell is by using the Ctrl+Shift+F (Font Color Command).

<h3>What is Font Color Command? </h3>

The font color command is used in the formatting of the font colors of cells on an Excel Sheet. The ribbon command Ctrl+Shift+F can be used or follow the process below.

To use the Font Color Command, simply follow the process:

  • Identify and select the text that you need to change.

Now, On the Home tab, select:

  • Font group,
  • In the arrow next to Font Color, click on the color to change the cell's font color.

Learn more about the Font Color command here:

brainly.com/question/5605472

<h3></h3>
6 0
2 years ago
Other questions:
  • A university wants to install a client-server network. Which feature do you think is important for them as they set up the netwo
    8·1 answer
  • List three uses of the INTERNET
    9·2 answers
  • Which is the best example of online multimedia?
    6·2 answers
  • Write a program that accepts 5 number and arrange them in ascending order​
    7·1 answer
  • Answer ASAP and I'll give brainliest.
    10·2 answers
  • If an additional term relates to payment, quality, quantity, price, time, and place of delivery, the CISG considers the added te
    12·1 answer
  • Functions are ideal for use in menu-driven programs. When a user selects a menu item, the program can_______ the appropriate
    5·1 answer
  • viewRatings(string, int) Takes a username and a minimum rating value. It prints all the books that the user has rated with a val
    10·1 answer
  • Tower of Hanoi algorithm 4 disks
    12·2 answers
  • How have these advances in-home technology changed the role of technicians in our society?
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!