(using C) Complete the following user-defined function . The function takes a string and outputs the number of lower case and upper case letters in main(). main () { string1 = " NORTH DAKOTA STATE...


(using C) Complete the following user-defined function . The function takes a string and
outputs the number of lower case and upper case letters in main().


main ()
{
string1 = " NORTH DAKOTA STATE UNIVERSITY " ;
int lowercase = 0 , uppercase = 0;
unknown (& string1 , & lowercase , & uppercase );
puts ( string1 );
printf ( " \ n % d % d " , lowercase , uppercase );
}
unknown ( char * s1 , int * lwr , int * upr )
{
while ( s1 is not a NULL )
{
Write your code here
}
}



Jun 08, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here