Question: I need the answer in C programming language, not in C++ or any other language. I need the answer in C Programming language, not in

 I need the answer in C programming language, not in C++

I need the answer in C programming language, not in C++ or any other language.

I need the answer in C Programming language, not in C++ language. Task [40 Marks total. Writing a program that generates an accurate output in A and C- 20 marks. Analysis of the problem - i.e. data requirements 6 marks. Good programming practice - ie proper use of remarks and structuring of the program modules - 4 marks. Algorithm proposed in B - 10 marks] A. [15 marks] Write a program that generates the positions of whitespaces in a string and prints them on the screen. For example given the following string as input: "hello there my friends" the program should generate 5, 11, 14 B. [10 marks] Propose an algorithm to extract the tokens (words) from a string. Words are supposed to be separated by white spaces. C. [15 marks] Write a program that extracts the tokens from a string. Given a string as input, the program should print on the screen each token on a new line. For example given the following string as input: "hello there my friends" the program should generate hello there friends For each questions A and C in this task, first provide the analysis of the problem by clarifying the inputs, outputs and the data requirements. Then write the program and submit the source code as part of the assignment. It is important to clearly structure your program by using indentation and comments to clarify your ideas

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!