Ask your own question, for FREE!
Computer Science 6 Online
OpenStudy (anonymous):

Create a program that prints the uppercase equivalent of N lowercase letters. Make sure that inputs with functions.. are lowercase letters. (Lowercase ASCII value of a =97 and z is 122) Example output: Enter N: 5 Enter a lowercase letter: a Uppercase value: A Enter a lowercase letter: 1 Not a lowercase letter Enter a lowercase letter: A Not a lowercase letter Enter a lowercase letter: x Uppercase value: X Enter a lowercase letter: z Uppercase value: Z

OpenStudy (anonymous):

c master

OpenStudy (anonymous):

just joking bro..^^,

OpenStudy (anonymous):

awh.. sorry sis.. hahaha..

OpenStudy (experimentx):

google for ascii values of alphabets

OpenStudy (anonymous):

yeah but i use turbo c T__T still looking..

OpenStudy (experimentx):

what are you using for input characters?? array of characters or string?

OpenStudy (anonymous):

string only bro.. we are not yet in arrays..^^,

OpenStudy (experimentx):

looks like we have standard function for that http://www.roseindia.net/c-tutorials/c-string-uppercase.shtml

OpenStudy (anonymous):

#include<stdio.h> #include<conio.h> void convert(char ch){ if(ch>=65 && ch<=90) ch=ch+32; printf("Upper Case =%c",ch); } void main() { clrscr(); char c; printf("Enter a Character"); scanf("%c",&c); convert(c); getch(); } *this program is vice-versa to what you want

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!