25 772
Assignments Done
99,4%
Successfully Done
In March 2015
Your physics homework can be a real challenge, and the due date can be really close - feel free to use our assistance and get the desired result.
Be sure that math assignments completed by our experts will be error-free and done according to your instructions specified in the submitted order form.
Our experts will gladly share their knowledge and help you with programming homework. Keep up with the world's newest programming trends.
Get a free quote.
Check the website
for updates.
Receive your completed assignment.
Easy as ABC!
Just provide us with clear instructions and wait for the completed assignment.

Answer on C++ Question for Vicky

Question #26122

A library function, islower(), takes a single character (a letter) as an argument and returns a
nonzero integer if the letter is lowercase, or zero if it is uppercase. This function requires the header
file CTYPE.H. Write a program that allows the user to enter a letter, and then displays either zero or
nonzero, depending on whether a lowercase or uppercase letter was entered.

Expert's answer

#include <stdio.h>
#include <ctype.h>

int main()
{
int ch;
printf("Enter a character: ");
ch = getchar();

if (islower(ch))
puts("0");
else
puts("1");
return 0;
}

Comments

No comments

Leave a comment

Related Questions

Link to us

Share with friends

free questions
Questions and Answers
approved by clients
Hello. My assignment was completed a lot faster than i predicted and that was great.Also the completed assignment was easy enough for me to understand, and it was exactly what i wanted to receive.It was perfect and as a result for that i passed my class!! The support was also great,although i didn't talked for a big amount of time in the live chat,the Person i was talking too was friendly and helpfull.
What i really liked the most,was the price,it was a descent price and compared to other Sites i visitted before i got the luck to find your's,it was a lot cheapier so in the future i'll make sure to use your services again.Thank you again for all your help and time.Hope the best :)

Lifestealer on July 2012
solving policy
solving policy
satisfaction
guarantee
paypal
Pay us safely via PayPalPayPal
We deliver professional assignment and homework help for students in USA, UK, Canada, Australia, AE and all over the world.
Terms and Conditions | Privacy Policy | Service
© 2015 BrainRouter LTD. All rights reserved.