answersLogoWhite

0

#include <stdio.h>

#include <ctype.h>

...

int caps = 0;

int c;

file = fopen ("InputFile", "r");

while ((c = fgetc (file)) != EOF) {

if (isupper (c)) ++caps;

}

fclose(file);

...

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

Which keyboard key is used to type in capital letters?

It is the key marked with: Caps Lock


An assembly language program that will take three decimal input and display minimum of them?

program that take three decimal number as input and find the largest among them in assembly language


What is the input for aftermath in how to win Final Fantasy Sonic X5?

the answer for "aftermatch'' is "VICTORY'' and for "fallen heroes'' is "PAIN'' don't use CAPITAL LETTERS when you enter the passwords, by axelstone


What is a Photoshop cs5 serial number?

It is a unique string of letters and numbers that you have to input in order to install the progarm. You have to pay money for this.


What is cap sensitive?

Cap sensitive refers to text input fields or search functions that distinguish between upper and lower case letters. This means that capital letters and lowercase letters are treated as distinct characters, impacting how data is interpreted or searched within a system or application.


What key is used to capitalize letters?

The Shift key is used to make a few capital letters, but the Caps Lock makes all letters capital until you hit it again!


What is the keyboard's output and input?

The input would be you pressing the keys and the output would be the letters on the screen?


Letters and numbers you input?

PLease be more specific.


What is the definition of input number?

The definiton of input number is the number going in. The input number is the oppsite of the output number. For instance:Input Output1 52 103 154 205 25The rule of the input and output number is input times five equals output.


Write a program that converts a string from small letters to capital letters and vice versa?

Here's a Python program that accomplishes this: def convert_case(input_str): return input_str.swapcase() user_input = input(&quot;Enter a string: &quot;) converted_str = convert_case(user_input) print(&quot;Converted string:&quot;, converted_str)


Is this how you spell input or is this how you spell inpute?

The correct spelling is &quot;input.&quot; &quot;Inpute&quot; is not a word in the English language.


What is the standard input of BLISS language?

essex