// Prueba enupal.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"
#include <iostream>
#include "conio.h"
#include <string>

using namespace std;

int main()
{
		
		int contador = 0;
		int mujeres = 0;
		int acumulador = 0;
		int edad;
		char sexo;
		do
		{
				cout << "Ingrese Sexo del alumno" << endl;
				cin >> sexo;

				cout << "Ingrese edad del alumno" << endl;
				cin >> edad;


				if (sexo == 'F')
				{
						//acumulador = acumulador + edad;
						acumulador += edad;
						mujeres = mujeres + 1;
				}

				contador++;
		} while (contador < 4);

		cout << "La cantidad de mujeres es: " << mujeres;
		float promedio = acumulador / mujeres;
		cout << "EL promedio de edad es " << promedio;

		_getch();
		return 0;
}