Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Introduction In this lab, you may work in individually or choose your own partner. In this lab, you will practice functions, debugging, loops, and arrays.

image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
Introduction In this lab, you may work in individually or choose your own partner. In this lab, you will practice functions, debugging, loops, and arrays. The Lab Setup The following steps will help you set up the lab. For further reference you may want to look at Lab 1 1. Create a new folder in your Mystorage CisC130 folder, call it lab8. 2. In CodeBlocks, make a new c file. Title it name1_name2_lab8.c and save it in the folder you created above. Where your names take the place of nameX above. (Make sure to not have spaces in your file name!) 3. Make sure to include your names, in comments, at the top of the file. Both names should be in the comment and in the file name. 4. Copy the code below into your lab8.c file: YOUR NAMES HERE Iinclude int censor (char phrasel. int psize, char cursesl. int esize): int main O /Sets curse word int esize-5: char curse15]"darn" the curse words /Reads in a phrase / int strsize 1001: char stristrsizeli ICALL YOUR FUNCTION HERE int foul-censor (atr 0, strsize, curse, csize): f1 foul) printf ("InThere was potty language in your phrase. It was censored. See below: In-)a elsel

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

What are the purposes of collection messages? (Objective 5)

Answered: 1 week ago