New Member FAQ | Forums | Earn Revenue


Resources Entrance Ask Experts Exam Papers Jobs English Projects Universities Colleges Courses Schools Training My India



My Profile
Active Members
TodayLast 7 Days more...



Awards & Gifts
Online Exams

Fresher Jobs


Our fresher job section is exclusively for fresh graduates! Find jobs for freshers in major Indian cities including Bangalore, Chennai, Hyderabad, Pune or Kochi

Resources


Find educational articles, blogs, discussion threads and other resources.

Colleges


Find details about any college in India or search for courses.

website counter



C++ program : To change the letter case (uppercase to lowercase and viceversa)


Posted Date:     Total Responses: 0    Posted By: K Dinesh Reddy   Member Level: Diamond   Points/Cash: 8   




//C++ program : To change the letter case (uppercase to lowercase and viceversa)
#include
using namespace std;
int main()
{
char ch;
do
{ cout <<"\n Enter a character (0 to terminate): ";
ch=getchar();
if (ch>=65 && ch<=90) // if uppercase
ch = ch + 32; // change to lowercase
else
if (ch >=97 && ch <= 122)// if lowercase
ch = ch -32; // change to lowercase
putchar(ch);
} while (ch!='0');

system ("pause");
return 0;
}




Note: In the program, After #include "iostream" tag is there...
But it is not seen as the post is considered as a HTML post...
So please don't forget this point...
The original file is uploaded as attachment...
Check that also...



With Regards,
ZORO
IIT Madras - CSE





Attachments

  • To change the letter case (uppercase to lowercase and viceversa) (2091-31913-To change the letter case (uppercase to lowercase and viceversa).txt)

  • Project Feedbacks


    No feedbacks found. Be the first to respond and make money from revenue sharing program.

    Post Feedback
    You must Sign In to post a feedback.
    Next Project: C++ program : TO PRINT MULTIPLICATION TABLE
    Previous Project: C++ program - To print encrypted characters

    Return to Project Index

    Post New Project


    Related Projects



    Advertise Here





    Contact Us   Advertise   Editors    Privacy Policy    Terms Of Use   

    ISC Technologies.
    2006 - 2009 All Rights Reserved.