You are here:   HomeC Programming (Pratical)Write a Program for Number is Armstrong Number
by Dinesh Thakur Category: C Programming (Pratical)

In this program user asks to convert all characters that are contained in a file to uppercase. To make this process user need to make a file and fill up some characters in it for operation. User declares the variables. And then put up a function to open file and also fill up character in it. Then if condition checks whether the file exists or not if the condition goes true then the program will terminate because file does not exist or then after while condition checks out the file and character and put up the condition to convert it into uppercase. Display the result on the screen.

Problem Statement:

This is c program that asks user to converts all the character in file into Upper case.

  1. Declaring variable.
  2. Using control statement.
  3. Put in while condition.
  4. Display the result on the screen.

Here is C source code for Converting the Character into Uppercase. The output of this program shown below. 

void main()
         char ch,fname[20],d;
         printf("\nEnter File Name :");
         scanf("%s",& fname);
                  printf("File can't be Opened");

Convert all Characters of File to Uppercase

Search Content

Advance Courses

Basic Courses

Advertise with Us