subject

Programs in C using gcc compilerProgram 1Content of the programRead your name from argc argv - minimum two words, max 4 words. Check for errors on number of words. Put your full name on an array. Count how many characters (letters) in your name are repeated, and how many times they are repeated .Your output should display your name followed by a list of each unique letter and how many times it occurs in your name. For example: Carlos Alonsoc - 1, a - 2, r - 1, l - 2, o - 3, s - 2, n - 1Program 2Similar to program 1 arrayname2.c but get your 2-4 word name from using fgets after prompt to user. Check for errors - more than 4 words or less than 2 words. Put the full name on array. Check name does not contain a number (e. g. use isdigit function from ctypes).Display full name followed by display the length of the full string. On separate lines, display each word individually (by moving each word to a separate array), followed by its length. Program 3Create program funcact. c - for function activity - main programYou will also need a encodecode. c for a subroutine callYou will need an encode. h to include the subroutine name in main program. The main program will read a sentence (max 80 characters) using fgets from the console, and a number from 1-5.The main program is going to encode that sentence by shifting each letter forward using the alphabet order by the number entered. This is done by calling the "encode" function. The main program is going to display the encoded sentence. Program 4Similar to Program 1 except funcact2.c will use the encoded sentence and number and call "decode" function to restore the original sentence. The "decode" function will also live in the same encodecode. c fileIn this case, decode is going to shift backward the found letters by the number entered. Main should call decode and get back the original sentence.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 07:30
In the film "epic 2015," epic is the name for:
Answers: 3
question
Computers and Technology, 23.06.2019 04:00
Write a method that takes in an array of point2d objects, and then analyzes the dataset to find points that are close together. be sure to review the point2d api. in your method, if the distance between any pair of points is less than 10, display the distance and the (x,y)s of each point. for example, "the distance between (3,5) and (8,9) is 6.40312." the complete api for the point2d adt may be viewed at ~pf/sedgewick-wayne/algs4/documentation/point2d.html (links to an external site.)links to an external site.. try to write your program directly from the api - do not review the adt's source code.
Answers: 1
question
Computers and Technology, 23.06.2019 13:30
Spoons are designed to be used for: spring hammering. applying body filler. identifying high and low spots. sanding highly formed areas.
Answers: 3
question
Computers and Technology, 23.06.2019 23:40
Which of the following calculates the total from the adjacent cell through the first nonnumeric cell by default, using the sum function in its formula? -average -autosum -counta -max
Answers: 1
You know the right answer?
Programs in C using gcc compilerProgram 1Content of the programRead your name from argc argv - minim...
Questions
question
Social Studies, 01.09.2019 17:10
question
Mathematics, 01.09.2019 17:10
question
Mathematics, 01.09.2019 17:10
Questions on the website: 13722363