Zdar.
Počet slov zjistíš tak, že projdeš celý řetězec písmeno po písmenu a spočítáš počet mezer.
Počet slov potom bude počet mezer+1.
Co se týče "zvětšení" písmena, v C++ na to existuje fce toupper v knihovně.
Jinak zvětšení lze dosáhnout i odečtením přes ASCII určité hodnoty (v čistém C bez knihovny).
Spočítání mezer:
#include "stdafx.h"
#include<stdio.h>
int main()
{
char string[100];
int c = 0;
int pocetMezer = 0;
printf("Vlozte svuj text s mezerama (max 99 znaku) \n");
gets(string);
while ( string[c] != '\0' )
{
if ( string[c] == ' ' )
pocetMezer++;
c++;
}
printf("\nPocet mezer: %d", pocetMezer);
gets(string); // pauznuti
return 0;
}