subject
Computers and Technology, 14.04.2020 18:19 maren17

Write a program named as reverse. c that reads a message, then prints the reversal of the message. The output of the program should look like this: Enter a message: Don ’t get mad, get even. Reversal is : .neve teg ,dam teg t ’noD Hint: Read the message one character at a time (using getchar) and store the characters in an array. Stop Reading when the array is full or the character read is ‘\n’. The framework of reverse. c is as below: /* reverse. c */ #include #define N 50 int main(){ int arr[N],i=0; char ch; printf("Enter a message: "); /* Put code here to get input from user by using getchar() */ printf("Reversal is: "); } /* Put code here to print out the reversal by using putchar()*/ printf("\n"); return 0;

ansver
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 21.06.2019 18:30, porkhappycom
Which number on the image above correctly indicates the name of a folder in this url? a.1b.2c.3d.4
Answers: 2
image
Computers and Technology, 23.06.2019 07:00, schvox
1. you have a small business that is divided into 3 departments: accounting, sales, and administration. these departments have the following number of devices (computers, printers, etc.): accounting-31, sales-28, and administration-13. using a class c private network, subnet the network so that each department will have their own subnet. you must show/explain how you arrived at your conclusion and also show the following: all available device addresses for each department, the broadcast address for each department, and the network address for each department. also, determine how many "wasted" (not usable) addresses resulted from your subnetting (enumerate them).
Answers: 3
image
Computers and Technology, 24.06.2019 20:00, broach605
Individuals suffering from technology overload feel distressed when deprived of computers and mobile devices. true/fasle
Answers: 2
image
Computers and Technology, 26.06.2019 02:00, gggggggggggg5496
Which of the operating systems listed below is not proprietary? ms-dos windows 2000 linux mac os x
Answers: 1
You know the right answer?
Write a program named as reverse. c that reads a message, then prints the reversal of the message. T...

Questions in other subjects: