answersLogoWhite

0


Best Answer

#include <stdio.h>

int main()

{

int n;

char ch;

scanf("%d", &n);

{

scanf("%c", &ch);

ch-=32;

}

printf("%c", ch);

return 0;

}

User Avatar

Wiki User

8y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Write program using c programig to convert uppercase to lower case?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Write a program convert a string from uppercase to lower case and vice-versa without using string tolower and string toupper commands in TCL?

[ string toupper $str ] or [ string tolower $str ]


Write a program to convert a 2 digit BCD number into hexadecimal number?

Write a program to convert a 2-digit BCD number into hexadecimal


Write a program to generate uppercase using cSharp?

string s = "asdfqwer"; s = s.ToUpper(System.Globalization.CultureInfo.CurrentCulture);


2 Write a program to convert a 2-digit BCD number into hexadecimal?

WRITE A PROGRAM TO CONVERT A 2-DIGIT bcd NUMBER INTO HEXADECIMAL


Write a shell program to translate the6 etcpasswd file into uppercase?

tr [:lower:] [:upper:] &lt; /etc/passwd &gt; somefile


How do you write a C program to input a string of lowercase alphabets and convert it to uppercase using a loop?

void to_uppercase (char* str) { if (str == 0) return; while (*str != '\0') { if (*str&gt;='a' &amp;&amp; *str&lt;='z') *str-=32; ++str; } }


How do you write a c program to convert binary to decimal by using while statement?

write a c++ program to convert binary number to decimal number by using while statement


Write a program using a loop to output all the letters of the alphabet in uppercase?

Here's the code for your program: # Loop through the uppercase alphabet letters for letter in range(ord('A'), ord('Z') + 1): print(chr(letter)) BTW you can use this code in Python and try it out for yourself.


When you write the word police in a sentence does it have to be uppercase?

No.


How do you write program to convert meter to kilometer in c plus plus?

Divide it by 1000.


How to write post code in uppercase letters?

Nashik road


How to Uppercase the all vowels in Java?

Assuming that you want to uppercase only the vowels in a String, you can write a loop to go through all the chracters in a String and when a character is a vowel you can convert it to uppercase. I think one way to do this is as follows:String originalString = "aobxkijejku";StringBuffer buffer = newStringBuffer(originalString);for(int i = 0, len = originalString.length(); i < len; i++){if(buffer.charAt(i) 'u'){buffer.setCharAt(i, 'U');}}String modifiedString = buffer.toString();