1 / 5

Lab5

Lab5. Please submit the lab before you leave Please include at a minimum your name , the date , and the lab-program number at the top of the program as a comment . Please also save each file as lab number and your name. Please submit the zip file of your programs to TA. Program I.

saman
Download Presentation

Lab5

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Lab5 Please submit the lab before you leave Please include at a minimum your name, the date, and the lab-program number at the top of the program as a comment. Please also save each file as lab number and your name. Please submit the zip file of your programs to TA Lab5

  2. Program I • Create random string and store it in char array. String size is also random. Lab5

  3. Program II • Create random string and then convert all lowercase letter to uppercase. Lab5

  4. Program III • Create random string and then count how many the character user input are in the string. Lab5

  5. (Option) Program IV • Declare char array and initialize with the sentence, “I am a boy. You are a girl.” (not using scanf) Now the program check if the word user input is in the sentence. Lab5

More Related