Question Bank Cpr Practical No.9

  • July 2020
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Question Bank Cpr Practical No.9 as PDF for free.

More details

  • Words: 161
  • Pages: 1
K. K. Wagh Polytechnic, Nashik – 3. Subject: Programming in ‘C’ Sub Code: 9017 Class: FYIF (IF/2/C) Academic Year: 2008 – 2009 Practical No. 9 Understand the String functions: 1. Accept any sentence from keyboard using gets( ) function and count total number of words in it. 2. Accept any string from keyboard, convert it into the upper case and display it. 3. Read a string from keyboard and inverse the case of it. That is, convert lower case letters to upper-case and vice versa. 4. Input any two strings from user and find whether these are equal or not. Don’t consider the case. 5. Read a string from user and analyze it. That is, count total number of alphabets, digits, special symbols and display their counts. 6. Write a program to accept a string and display a list of ASCII codes which represent accepted string (Asked in Summer 2007 Examination).

Kute T. B. (Subject Teacher)

CPR – Practical No. 9

Related Documents